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.
Thanks mate. I was working the solution in my IDE and I forgot to delete/comment the console outputs.
Well It may help you can post your code if you check the chechbox mark as having spoiler contet
if I am right
Your code is mostly OK.
Please see this paragraph: https://docs.codewars.com/training/troubleshooting#maxbuffer
I might have complicated the thing but I could pass the tests. Though the attempt result I'm having is:
Time: 3797ms Exit Code: 137
Could be that it's not well optimized?