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.
@mellamokb, thank you for help, fixed
EDIT: Nvm, figured out issue. Apparently it is unwise to modify the array in-place and leave it modified. Probably should be addressed, otherwise allows the utterly silly solution I just posted.
Added
TestsAreNotBroken
test case with {"excavate", "east", "strike", "transport"} to test my solution and the same solution in the random test block, all looks good. Please let me know if the question is relevantAgreed, the C# random testcases definitely seem to be broken. Seems to mostly happen when there are multiple words beginning and ending with the same letter.
When you don't know, don't raise an issue. An issue is a bug in the kata. This code should return
{'z': 144, 'c': 1}
.