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.
You have a problem with the following tests: LargeNumbers, OrderNotImportant, RandomNegative100Numbers, RandomPositive100Numbers. I can return absolutely any number, and it will be counted as the correct answer.
Oh my god. I feel stupid. Thanks for the explanations.
See for yourself. If the string is: "bbbaaabaaaa". How many letters are there 'a'? Personally, i counted 7 and my code says the same thing. And what is written in the tests? It says: ('a', 4). Does it mean that if there are 7 letters 'a' in the line , and it is written in the tests that there should be 4, then the author made a mistake?
I saw a typo in the tests. This kata has a problem in c#.
This comment is hidden because it contains spoiler information about the solution
I program in c#. An error occurred during execution. Please changed the values in the tests. You made a typo: in the "LongestAtTheEnd" method, and i dare to assume that a typo was also made in "RandomTests".