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.
This comment is hidden because it contains spoiler information about the solution
very clever and easy to understand answer
We all learn, part of the process. This platform will defo make you a more well rounded dev
What a fantastic one liner LOL
That's a great site! Thanks for the link, never heard of it before.
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
Since we were using numbers as the input this makes so much sense to do instead of writing our that long switch statement that I used for this.
This comment is hidden because it contains spoiler information about the solution
Genius
he just sort them from 0 to 9 and uses the input as index when you type 1 as input you will get the value at index one from the array
can someone explain how this works? they dont provide actuall numbers.... im confused. is [n] somehow represent the numbers?
this is so much better than typing each case out
Dang...I wish I could take back my solution now. I even put break statements on my switch cases...and then realized they aren't needed.
Loading more items...