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.
Have a look there: https://docs.codewars.com/getting-started/solving-kata
Use a spoiler flag when you post code or give clues to a solution.
@ethan67: you meant to see the
input
, I guess? ;)The array is given, it's
arr
.The array is given / will be passed as the argument in the function.
You can read this if you are having trouble.
https://docs.codewars.com/getting-started/solving-kata