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.
Writing code on one line is the, "I am going to buy this, just because it is on special" equivalent in programmng.
This comment is hidden because it contains spoiler information about the solution
Hi, itai86. It just replaces each pair of valid braces('()', [] or {}) with ''.
Hi Giraffe23, can you explain to me what the replace function is doing?
This is a clever solution, but nested ternary operators is not best practice.
This comment is hidden because it contains spoiler information about the solution
It works, but you should have cached that strrev, no?