Ad
  • Custom User Avatar

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

  • Default User Avatar

    Ahh you're right :) my mistake

  • Default User Avatar

    There's a small mistake in the description section of the python translation of this kata:

    Example subsequence

    Subsequences of "abc" = "a", "b", "c", "ab", "ac", "bc" and "abc".

    "ac" is not a subsequence of "abc" :)

  • Default User Avatar

    Hey :)
    I've added random tests now - sorry about before I really misunderstood what was meant by random! Let me know if you think the test-cases help the strength of the kata - I'd love to get it published. I can keep investigating more efficient solutions too.

  • Default User Avatar

    Thanks for the feedback guys!
    I've added some more random tests, including tests with longer keys (including some keys that are just symbols). I also added a description of how to handle empty-lists and empty dictionaries (they can exist in the nested structure, but only as values / endpoints because they aren't hashable (in python, at least). Does this help the kata, in your opinion? What more should I add if I am (stubbornly) hopeful that it will get published?