Ad
  • Custom User Avatar

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

  • Default User Avatar

    How much time is it OK to do kata like this?(I am newbie in python)

  • Custom User Avatar

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

  • Default User Avatar

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

  • Default User Avatar

    Some of the random input test strings seem to include non-printing characters, that are not included in the expected results strings. Using something like strtok will pick up these characters, but if you try to printf to debug you won't see them. for example:

    for words:
    "m2 n3 oe4pwks nrrg9prjnr yi8etyad wrlymis1 7eld 6 yasdw5owy"

    expected:
    "wrlymis1 m2 n3 oe4pwks yasdw5owy 6 7eld yi8etyad nrrg9prjnr"

    but got:
    "wrlymis1 m2 n3 oe4pwks yasdw5owy 6 7eld yi8etyad nrrg9prjnr"

    Copy and paste the input and expected strings from this example into one of the example test calls, and it will come back correct.

    So it seems that to get the correct answer, you must fullly sanitize the input. The input strings are not clean!

  • Custom User Avatar

    Great Question ! I have seen alot of solutions but majority of them failed to keep the complexity in mind. Why would use sort() when listing order is already given in the string :p

  • Custom User Avatar

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

  • Default User Avatar

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

  • Default User Avatar

    C# test
    Console.WriteLine just before return gives : Thi1s is2 3a T4est as string
    test gives error that string is in wrong format, is it bug?

  • Custom User Avatar

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

  • Default User Avatar

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

  • Default User Avatar

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

  • Default User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Loading more items...