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.
Read this: https://docs.codewars.com/training/troubleshooting
Still does not work for me with spaces
[Edit] I was wrong, it should include the spaces, it was just that I made the algorithm wrong at the beggining
Ok so this is what I get:
Should return: '[ Gap , gAp , gaP ]'
['Gap', 'gAp', 'gaP'] should equal [' Gap ', ' gAp ', ' gaP ']
I don't quite understand what is wrong.
I have made the answer both for being iqual as ['(space)Gap(spave)', '(space)gAp(space)', '(space)gaP(space)'] but still get it wrong