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.
No random tests.
Spare us the input validation.
Duplicate of katas like https://www.codewars.com/kata/546dba39fa8da224e8000467 or https://www.codewars.com/kata/578bf2d8daa01a4ee8000046
No random test cases.