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.
You solution is great. But I'm more prefer with how binary working in computer system.
This comment is hidden because it contains spoiler information about the solution
Ironic how I used the parseInt function unaware of its radix optional parameter.
Oh well, we learn, we keep learning. That was nice!
no need for zero(initialValue)
the lack of typing work on typescript ? should it say that the parameters are not typed ?
This comment is hidden because it contains spoiler information about the solution
Will consider using isNan for checks now.
just can say 'omg' )))
thank you! it so simple
wow! so simple yet so clear
I want to know how I can identify the best-practice solution, as you mentioned. How can I determine that sorting is not a suitable approach in this situation?
This comment is hidden because it contains spoiler information about the solution
This is actually not the best way of solving this problem. The instructions say to consider there being a large number of inputs. In terms of Big O, if you submitted this solution for production code, you'd have a LOT of people mad at you.
How does it works???? anyone can to explain?
This comment is hidden because it contains spoiler information about the solution
Coercion in this way is really useful sometimes!
Loading more items...