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.
good one, but if/else can be skipped with just single return statement
Great solution! BTW it's bettter to replace
i
with_
as it is used nowhereThanks
that's so neat for 1 line of code!
Would anyone mind explaining this to me? My solution was almost 50 lines and I'm so lost looking at this
cool, thanks
This comment is hidden because it contains spoiler information about the solution
hey vyahello, you cannot post code like that without a spoiler! (I have added the tag) You had basically just given the entire solution to all of codewars, as it could otherwise be seen on the common thread...
way too good man!
This comment is hidden because it contains spoiler information about the solution