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.
Just ditch the Linq, at least in this case. Slow as molasses. My code is readable, maintainable, and executes 2.5 to 3 times faster. Linq is too often a crutch for lazy coding.
@gaelanmcmillan: "People love a compact Linq solution" to the detriment of all. Most of those compact solutions are significantly slower to execute. Simple loops, while more verbose, will usually be better in execution speed, and much, much easier to read and maintain.
That code takes 2.5 to 3 times as long to execute compared with mine. That is significant.
From the description, it is not expected to. but yeah it doesn't.
This comment is hidden because it contains spoiler information about the solution
What do you mean, DoimanII ?
using ToString() is a bad idea, because the ToString() can be overriden and it can return a different result.
Woooow! Who do you do this>?!
The correct answer.
Lol no it doesn't
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
Even if it solves this kata and is upvoted as hell, is does not work with two digit numbers ;)
This comment is hidden because it contains spoiler information about the solution
Loading more items...