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.
Here you sort ALL the 50 millions element and after you had to compare the digit (not linear for sur).
But all you have to do is to look element by element and find the first one who is not asc (linear).
Sorry for my english
Thanks!
This comment is hidden because it contains spoiler information about the solution
Oh, yes!
Ah, snake_case. Get's my vote.
...12 months ago I would have laughed at the idea that a naming convention could influence my opinion.
This comment is hidden because it contains spoiler information about the solution
Probably it's the most fastet solution. Can you explain please why do you think that this solution is slow?
test on a list of len 50 millions
your decision took time: 2.390636682510376
supposedly slow decision took time: 1661070264.348622
your decision longer on 1.7343978881835938
well TIL! I like this solution best.
How does it work?
slower than necessery, and you kind of loose all the interest of the kata ?
This is real slick, good job
I doubt any 7-kyu user cares about that. Might be an issue in production, though.
The most important thing is to practice the previous assignment
nice one
This is easiest to read
Loading more items...