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.
the break after a return is redundant, a return end execution and breaks out of the switch.
Yeah, definitely a bit of opinion injection here on how to complete it. I agree with Alexandra, less initial code.
Big O is rarely my goal on here lol
Damn, I forgot about substr. Well Done!
Bonkers
Nice edge case addition
This is fantastic.
Nice!
500 error....500 error..... 500 error.... -_-
Thank you for the comments, really helped me to walk through your thinking and solving.
This comment is hidden because it contains spoiler information about the solution
I tried this identical one, only difference was my parameter was n instead on number....I ended up doing something different that also worked -_-
Aimed for best pratice
I was aiming for readability as well as being somewhat efficient(performance). This one imho was more tricky than I initially anticipated.
Great, super well done wish I had done so well. I would only say personally I would change a paramater to word