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
This comment is hidden because it contains spoiler information about the solution
What's not forbidden, can be used. Not a kata issue, closing.
I don't see why is that an issue. Do you see anywhere in the description that it shouldn't be used?
This comment is hidden because it contains spoiler information about the solution
OP solved it, closing.
This comment is hidden because it contains spoiler information about the solution
The easiest way to see the difference is to do both solutions for some smaller inputs by hand.
If you're confused about the function you've used, try to write it out as a loop and compare the differences.
nobody will know what you think is missing unless you tell them
Try some examples on paper.
have you TRIED IT?
Not a kata issue. See https://docs.codewars.com/training/troubleshooting#post-discourse.
I must be too stupid to understand the problem.
but why
I see two things that can be changed:
that's redundant, and, halve is misspelled.
I'm guessing you mean something completely different, but how would anyone know what you're thinking when you don't say?