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.
should be fixed after 4 years
It is good simple task for train Linq :)
Ah, that's probably why. I was not. Thank you!
are you using System.Linq; (Line 1)?
This is beautiful.
As of 5.5.2019, this is this a problem with the C# version.
The problem still exists?
Input: "x!!!C!kv" | Actual: "x!!!C!kv" | Expected: "xCkv"
i think this should be little bit faster for big vectors
This comment is hidden because it contains spoiler information about the solution
did you get a chance to see my code before it was hidden?
The C# version has performance tests.
Yes, sure. Always forget to add smiles to my sarcasm %)
Didn't check other solutions, but I bet that I had server issues.
It proves nothing. The tests may be different and there's a great number of factors like environment, compiler options etc.
This Kata proves (which is already proven) that C++ is faster than C#.
My code doesn't fit into 1200ms for C#, but perfectly fits in C++. And even not optimized pass for each number fits too.
Sad, but I don't know how to make my code faster for C#... Or maybe it is just server problems..
I can confirm this issue, it was due to an edge case where if the missing value of the mixed list was starting list's max value, the function would return 0 instead of the correct value.
I've rectified the issue in the translation, the author probably has to update the Kata with the updated translation now. Thanks for bringing this to my attention.
Loading more items...