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.
It's not necessarily obvious the 7000 is in ms. The code could alternatively be explicit/obvious about that.
I think this solution is better then others :)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Wow, I mean you definitely earned the points for your solution haha. I love how thorough this is even if there are many other elegant solutions out there. This kind of code would hold up in a continuation of this kata where you get asked for more details or to deal with edge cases. Great job on this
Are you f....... me? Wow :D
Wow, thats soo short and clean. Nice solution, even if I dont rly fully understand the calculations.
I don't get it, why does this work, but quadratic formula doesn't?
This comment is hidden because it contains spoiler information about the solution
The author's solution was something like this, I just translated it to C#.
I didn't even think of converting to a binary string. This is really brilliant. It works for negative numbers because of two's compliment. I simplified some of the Linq logic.
Thanks for your kind words! I try my best to make my code as readable as possible.
I wonder if ill ever be able to produce such beautifull code. This is so clear. I started 8 months ago with C# and this is where I hope to get to.