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.
You're mutating the input list. That was the reason why it failed. I've approved the fork below so tampering with it won't be a problem anymore.
I agree this should be explained in the kata better. Knowing this helped me solve this much faster.
Please see description and example test cases.
for n = 100, there are only 3 numbers that meet the requirement. They are
5, 55, 77
.for n = 1000, there are only 11 numbers.
Maybe some trailing space? Read this and if that doesn't help, try posting your code following the directions there so we can see your code.
That's part of the testing suite, it can't be removed.
You should read it like that