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.
Wrong. That is not a valid plate of spaghetti.
Kata description says
UNIQUE being the important word here.
Oh my bad, I haven't noticed the "each piece has a unique uppercase letter ID". That makes this problem much easier 🤦♂️
Nice kata, although tests are not sufficient, author should consider adding this plate to tests:
Answer should be "C" and not "A" which is a most frequent letter.
This comment is hidden because it contains spoiler information about the solution
No need for fact:-)
I think it should be mentioned in the instructions:
In Swift got stuck until checked solutions. Apparently tests run on very big numbers. So if you calculate factorial you should use Float80.