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.
4 is the first multiple of 2 and 4
12 is also missing ... etc
Thank you for finding and reporting the error. So I can learn.
Invalid... Wouldn't pass the case [2,4,40]
Invalid... Wouldn't pass the case [2,4,40]
Invalid... Wouldn't pass the case [2,4,40]
Invalid... Wouldn't pass the case [2,4,40]
Correct, solution is invalid. Looks nice but fails for [2,4,40]
This comment is hidden because it contains spoiler information about the solution
Funny...I just came up with and submitted the same exact algo!
Great idea using none. I got all tripped up using a counter to select the previous letter