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.
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
Looks cool but not optimal, so far I think it's O(n) the optimal solution.
This is not the best approach, since it has to go through the array three times.
Very neat!
thanks a ton marxsteal!! yes, definitely better late than never, outstanding reply, crystal clear now!!
I would just return Array.Empty(), since it's a singleton and does not take extra memory on creating a new array.
This comment is hidden because it contains spoiler information about the solution
Briliant =)
This comment is hidden because it contains spoiler information about the solution
amazing
So the compiler adds the value to the value? And that's faster than bitshifting? Huh, that's interesting.
It was faster at the beggining (like years ago) but now precesors are stronger and there is no point in doing it. You should not do it because it is easy to make mistakes and it is not clear enought.
genius
Loading more items...