Ad
  • Custom User Avatar

    Looks I can't edit my own comments that people have responded to. Ignore me, don't code with no sleep. Sorry, matt c!

    EDIT: Downvoted myself so hopefuly people do not see it.

  • Custom User Avatar

    Don't waste your time on this one. Too many test cases are faulty. Kata doesn't specify how you should handle sorting if ages are equal (i.e. should names be in ascending or descending order) and has test cases that handle it differently. Basically stuck submitting and hoping for enough test cases in a row to handle it consistently.

  • Custom User Avatar

    You have this issue in multiple test cases. I ran into it again. The following was the expected result.

    {"age":63,"name":"joe"},{"age":63,"name":"chosen one"}

  • Custom User Avatar

    The names are not in ascending order. Both "don" and "cat" have the same age, but "cat" should come before "don".

  • Custom User Avatar

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

  • Custom User Avatar

    I ran into this as well. Saved a reference to the start of the list and traversed it again after finding the loop size and deleting the property I created.

  • Custom User Avatar

    The test cases don't match the test cases being ran against it.