Ad
  • Default User Avatar

    I can't see any basic tests with only "59544965313" in the input string. I just tried the Java tests with a Codewarrior's Java solution taken at random and it worked fine. Does >> your solution work for "Your example test cases"?

    It does. It works for the example test cases, and for the random tests when I submit.

  • Default User Avatar

    After coming back to this kata, I'm now stuck at exactly the same point.
    When running in eclipse, my method orderedWeights("59544965313") simply returns "59544965313".
    Is it not supposed to do that ? I pass the other test(s). It basically does exactly what is supposed to do.

  • Default User Avatar

    Good Point. Got that one sorted out, just to realize that I didn't account for duplicate numbers in the String (next test). I'll have to get back to this one :D

  • Default User Avatar

    So... I am a bit confused when it comes to my Java solution. I fail the basic test with this :

    expected:2000 103 123 4444 99[]> but was:2000 103 123 4444 99[ ]>

    Tested my program in Eclipse with a few different input Strings,everything seems to do exactly what the kata details asked for :(