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.
Space Complexity O(N) not bad
Clever indeed (and way faster than most other submissions)
Thank you very much for the detailed answer.
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
This comment is hidden because it contains spoiler information about the solution
I can follow this now. It's interesting to come back to this 7 years later, it makes much more sense to me now.
This comment is hidden because it contains spoiler information about the solution
One line. Excellent!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
the FOR sequence is also in one line and is very readable, the linq sequence is the same length, but it is quite difficult to understand what is happening at a glance...
I really need to learn LINQ
This comment is hidden because it contains spoiler information about the solution
Loading more items...