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!
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".
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
Why would you treat double spaces any differently than single spaces? I don't think this is reason enough to raise an issue.
This comment is hidden because it contains spoiler information about the solution
Not really a problem, but it's good practice to name
strng
str
Nice kata, good if you want to learn about closures
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!
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".
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