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.
Yeah, apart from that, I find this solution very readable!
misread the prompt
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Very fast solution
This comment is hidden because it contains spoiler information about the solution
Wow...
This was a hard one and took me a while, but I liked it!
If your code is failing, try checking the types of the input carefully. The description didn't mention this.
I would assume that if a customer input a string code that matched an int code except for its type that would be acceptable, but I guess not for this exercise...
Nice
The check for single digits isn't needed.
Amazing solution!!
Sets use have contstant time look up, so this answer is faster than the current top answer which uses a list.
Loading more items...