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.
I swear to myself I'll learn regex someday.
That day hasn't come yet, but it's always good to see people that put in the work.
I did the same.
This solution has O(n) complexity, while the others (based on sort) has at least O(n log n) and heavely depends on sort implementation.
I like this soultion because it's probably longer than it should be. Like mine.
And that, my friend, deserves respect.
Man, my solution looks like the biggest bowl of spaghetti compared to this. Kudos!
Man, my solution looks like the biggest bowl of spaghetti compared to this. Kudos!
Man, my solution looks like the biggest bowl of spaghetti compared to this. Kudos!
Man, my solution looks like the biggest bowl of spaghetti compared to this. Kudos!