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.
of course tf
dude..... that's nuts
Oh. Of course.
will not work in case s = "XXX"
' X X X' != 'X X X'
"using space BETWEEN words"
I'm loving python more and more because of syntax like this
Pretty beautiful. Simple as possible. I liked it.
same, haha
that's what overthinking looks like
Even when declarative approach is very keen on the eye it introduces a large overhead compared to just using sort with imperative looping... in my case its around 26ms overhead, compared to 0 abstraction solution that is under half of millisecond, its arround 8000% increase in execution time... For more info check my solution.
This comment is hidden because it contains spoiler information about the solution
It's O(n), that's plenty fast.
This comment is hidden because it contains spoiler information about the solution
Beautifully inspiring in its simplicity! :)
It's a very straightforward solution, but what if string would be really long? Will have to wait a lot.
camelCase has no spaces in it, so that input is not a valid one.
Loading more items...