Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Why do all the solutions voted as "Best Practice" have an O(n^2) runtime when there are easy to understand solutions with O(n) runtime?
Is reverse engineering the requirements part of this kata?
The description says "it is assumed that every operator must act on at least two expressions", but all the tests include only two. Should the description be updated to say "it is assumed that every operator acts on two expressions"?
Thank you, this was really useful.
You also need to disable Dictionary, as Dictionary.ContainsKey has the same performance as HashSet.Contains.
As the author of the kata, I really appreciate that everyone has a better solution than me.
What about creating a channel on Slack? It seems someone with a codewars.com email address already registered codewars.slack.com. They should open it up to the public.
It seems this is now implemented. Can you confirm?
How did you come up with this? Is this from a known math formula?
This answer is wrong, but you have no test proving it.
Here's a possible test:
Assert.IsFalse(StringMerger.isMerge("bbaa", "ab", "ab"))
.