Ad
  • Custom User Avatar

    Yeah I ended up going with the hack of converting to int and back to string for this. :/

  • Custom User Avatar

    'People like you'

    Why are you getting personal over the rating of a kata?

    I didn't need to look it up because I was taught it in school. Also programming isn't a closed book test. When I program I am standing on the shoulders of giants.

  • Custom User Avatar

    In python the tests were expecting the function to be named open_or_senior but the provided code template names the function "openOrSenior".

  • Custom User Avatar

    I'm leaving my code in the crappy form it passed in. I normally clean things up and think about optimizations and shortcuts but I'm done with this evil problem.

  • Custom User Avatar

    This kata is far easier than 4kyu. It's a standard binary tree and traversal method. The pseudocode is in every data structures textbook.

  • Custom User Avatar

    When I tried to run the haskell unit tests I got:

    The name of the test module must end with 'Spec'

  • Custom User Avatar

    Why do the kata in this series execute through oper(fct, s)? Does it make testing easier and faster to implement across supported languages or allow for a functional approach to test writing? IMO that function should be provided already implemented.

  • Custom User Avatar

    int n = 7230702951; // invalid in java. The literal 7230702951 of type int is out of range