Ad
  • Custom User Avatar

    Good Kata, but I think you should improve the instructions, they are a bit unclear.

  • Custom User Avatar

    Good job.

    The description makes it unclear that the types are meant to be strings. You could just tweak the examples to be ["string", "number"] and so on.

  • Custom User Avatar

    Ah, you are right! Thanks a lot for pointing that out. Should be fixed now :)

  • Custom User Avatar

    Great Kata!

    Some of the current solutions do not return the correct value when a string preceeds a boolean (like "hellotrue123"). There are only two solutions that pass this. Some people's solution counts the boolean as a continuation of the string, and not as a separate boolean value.

    You should add some testcases that will prevent people from passing in this fashion, some examples are:

    Test Case             Incorrect Solution           Correct Solution
    ---------------------------------------------------------------------------------------
    hellotrue123          ["string", "number"]         ["string", "boolean", "number"]
    isogsgtruefalse       ["string"]                   ["string", "boolean", "boolean"]