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
i almost cried, this masterpiece should be in a museum
this is amazing! I didn't know you can do this here
Looks to be pretty slow
Only works on 64 bit then. Not within spec I would say
It absolutely is an increasing sequence. The kata defined 0 as coming after 9 for increasing sequences. The 1 in the end can be safely ignored because a number was defined to have at least three characters
It's beautiful
On my side the regex code is twice as slow as a for loop (2526 ms vs 1149 ms).
Thanks better late than never on the reply :)
I have tested it and it is correct here and in other solutions too)
I do a foreach loop for 1_000_000 repetitions of the "yacht is the sea with a man in the sky" line discussed above, and compare it to regex.
Results:
1280 ms - for loop
1137 ms - regex
the for loop loses an average of 100 ms. LINQ is slower - 1809 ms
Summary: regex is the fastest and most obvious - really best practice)))
I can't even begin to understand how this solution works, it's beautiful T.T
LMAO
This comment is hidden because it contains spoiler information about the solution
WTH!!??lol!
Loading more items...