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.
ofc, since it's not possible... x)
the list is built first, then it's indexed
I think you are making things difficult for yourself by imagining rules that don't exist.
e.g.
Kata says:
This means the ants can WALK in and WALK out of the terrain (avoiding complications of bridges with only one known end)
It does NOT say there is some magic platform at the end with "solid ground with enough space for all ants".
Kata says:
So you know they do not stand around mingling on some imagined platform having some kind of ant party. They EXIT.
Why is this an issue? Kata description already says:
NOTE: all ants
What part is not clear?
When you see solutions that may be incorrect but have passed test suite, it also means test suite is incomplete.
In that case, don't hesitate to raise an issue to complete test suite.
If test suite is complete, problem comes from your solution.
Finally note that I didn't try to obfuscate code but to reduce its length ;-)
You're wrong.
It's your solution that's wrong.
Arrays don't work like that in JavaScript. You can't simply set one equal to the other. I use arr = resArr.slice() for that purpose. I hope that helps!