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
When a string is passed to a boolean evaluation, the empty string '' returns False. Any non-empty string returns True. So "not string" is True if the string is non-empty, False if empty.
What "return not string" mean?
python
Which language?
Is any way to print node?
OMG perfect! :D
I think zip() is better way
Please use a spoiler flag when posting code in a comment (I set the flag for you this time).
This comment is hidden because it contains spoiler information about the solution
Try calling your function a few times with cases from the sample test case. I just tried your code, and Nope! it is only able to pass few test cases before exceeding CW's Time Out limit
Most probably you did not test your code with inputs which cannot be handled by your solution. You tested it only with inputs which work.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
it definitely is possible, i just submitted my code
edit: and i regretted not refactoring my code before submitting
Loading more items...