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.
It's similar, yes, but there are different solutions for both, so, not a duplicate and not an issue.
Thanks for the suggestion.
Your solution is timing out because it's not efficient enough. Think about what you can do so you don't necessarily have to go through every single number each time!
Not a kata issue, your code is too slow.
bug doesn't allow code to execute within timeframe. works for test but times out at attempt.
Yes, what other interpretation would you think is possible? Print the input and it will be evident.
Hi, my solution passes all the tests except one: the first item. Here, it says that "1 should equal 0".
I find this description very vague. First item of what, the input array?
I would like some feedback, please.
PS: I wrote the solution in Python.