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.
Felt more like an 8 kyu problem, but was decent nonetheless.
It's definitely a little light on applications of the language used, but it wasn't a bad way to show mathematical applications.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Is it odd or not that for an ES6-centric challenge, they are using pre-ES6 function formatting?
Sort of annoying when the Kata IDE times out so easily while in my own IDE the solution takes milliseconds to produce an answer. Obviously I'll just need to solve another way, but seems like the IDE is so touchy lol
It wants you to swap the index of the items in the list. So if the input is [1,2], it wants the output to be [2,1]
Wow, I really did it the most hamfisted way, huh? Lol
It probably goes against the spirit of the question to build in exceptions for specific errors in the test code
This comment is hidden because it contains spoiler information about the solution