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.
kata hint != kata suggestion
You need to find better solution. You can't just count actual power to solve this kata, as this will take too much time with large numbers.
Don't give hints solutions in comments.
Yes, when you reach the second 5 you've found the first pair (
[5, 5]
) that adds up to 10 and you return it.What was the input value? Without it we can only guess.
What's unclear about that?