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
"color > m" part blew my mind :) amazing solution
You don't have to hyper-optimize 5 kyu katas, my friend.
Logic is easier to understand and follow, but time complexity could grow to O(n^2) in the worst case.
Then wouldn't "h" be a valid input? --> "#H". I guess single char is not a "word"
Wow, absolutely did NOT think of using that function. I should read the docs more...
It would
it will return False
This code won't be able to work the exceptions such as "(([)])"
Awesome!!
Clever!
This comment is hidden because it contains spoiler information about the solution
actually genius
#11bfp_42v
fantastic simplicity .
Use spoiler flag next time, your post was visible in the homepage.
I timed out as well with this same solution. How did this one pass I wonder?
Loading more items...