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.
Great solution! Is this considered better practice than using the Number.isInteger() javascript function? Perhaps it's faster?
This comment is hidden because it contains spoiler information about the solution
check out my solution mate, similar but shorter for the 'if...else'
This comment is hidden because it contains spoiler information about the solution
This is what i tried to do, but I kept overthinking it and ended up with a much verbose and confusing code. Ill consider this approach in the future!
good
Hold on! I don't even understand the quetion. 😏
Can anyone help me?
Spoiler flag, thx.
This comment is hidden because it contains spoiler information about the solution
Observation: though the kata description don't ask for it, it's a good practice to copy the original array and work with it, since the sort method mutate the original array. I like to copy the original with slice method before applying any other method to the array.
I thought it was a Python code for a sec, lol.
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
https://www.codewars.com/kata/reviews/559595019987562910000014/groups/55a86c703c84d58b2e0000fc is O(n)
Loading more items...