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.
yassss baby lets gooooooo!!!!!!!!!!!
Your translation has been rejected. You can publish it again once it fulfills the requirements, see there : https://docs.codewars.com/authoring/guidelines/translation/
Needs random tests
With only 5 fixed test cases this translation should not be approved. Please check out the Python version, it has many more fixed tests + random tests.
Yet it is a classic tree traversal.
Only the last line reverses list order when needed.
I'd never have thought of a such solution
JavaScript translation!
For more challenge I offer do not match
/* */
or//
sequence in quotes.For example:
str = "/* comment */"
- this is a commentstr = "print('/* test */')"
- this isn't a commentHahaha, NICE!!!!
Such a clean code ^_^