• Custom User Avatar

    Why would you treat double spaces any differently than single spaces? I don't think this is reason enough to raise an issue.

  • Custom User Avatar

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

  • Custom User Avatar

    Not really a problem, but it's good practice to name strng str

  • Custom User Avatar

    Nice kata, good if you want to learn about closures

  • Custom User Avatar

    The kata says only to ignore puncuation marks. But when you submit, some random tests (atleast in my case) have double spaces in them (' ') which the kata expects should also be returned as is. This should atleast be mentioned once in the details!

  • Custom User Avatar

    Not a kata suggestion. A lot of katas have very biased upvotes, since the top-voted solutions are always at the top, they get upvoted constantly, but that does not mean they are "best practices".

  • Custom User Avatar

    I am suprised nobody used a set to solve the problem. All the top one liner solutions have a complexity of O(m * n), which is inefficent for large inputs