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
Why are you sharing your code here? Your solution (assuming it works) is listed in the Solutions tab, so there is no reason at all to share it here.
If you want to share another solution, simply do the kata again and it will be added to the Solutions tab automatically.
You didn't even mention which programming language it is or format your post well, which makes your post totally pointless.
This comment is hidden because it contains spoiler information about the solution
Please read this paragraph: https://docs.codewars.com/training/troubleshooting#post-discourse , especially the bullet point about not posting solutions in kata discourse.
Please read this paragraph: https://docs.codewars.com/training/troubleshooting#post-discourse , especially the bullet point about not posting solutions in kata discourse.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution