Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    yes it works on the test cases. It actually passed on the RandomTest.

  • 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

    Hi. Is the solution now available for this problem?
    What should be returned when this value was entered "59544965313"? (JAVA)

  • Custom 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"?

  • 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

    Same issue. Java.
    BasicTests(WeightSortTest)
    ****** Basic Tests ******
    For input string: "59544965313"
    RandomTests(WeightSortTest)
    ****** Random tests ******
    Test Passed
    1 Passed
    1 Failed
    0 Errors
    Process took 3125ms to completeBasicTests(WeightSortTest)

  • Custom User Avatar

    Please which language?

  • Custom User Avatar

    Which language? Could you post what is returned otherwise I can say nothing:-)