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.
i am stupid
impostor syndrome is hitting real hard after seeing this lmfao. great job though!!!
good
it's no longer valid solution.
check docs sir to make your code in the comments readable : https://docs.codewars.com/references/markdown#code-block
wow!
There is reverse method. Damn. I used sort
This comment is hidden because it contains spoiler information about the solution
Not bad at all! Short, sweet and to the point!
came to the comments for this. Thanks!
when you return you don't need to add the break couse you already breaking the code
Your reply is 6 months old, so I assume you figured it out, but for those reading and wondering the same.
||[] this part of the code, if no match was found, it returns an empty array and if you call .length on an empty array, it will return 0
this method is taking negative numbers too
This comment is hidden because it contains spoiler information about the solution
Loading more items...