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 was my solution!
This comment is hidden because it contains spoiler information about the solution
my type of solution!
haha this is my code too
learned
This comment is hidden because it contains spoiler information about the solution
Fewer lines of code isn't equal to good/best code though. Readability matters a great deal in large codebases with all sorts of developers coming in-and-out on projects.
Great readability.
were you prepping for app academy? i just started codewars after getting halfway through app academy's practice problems and my code looks very much like yours. reviewing other people's makes me want to code harder. cheers.