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.
Think about what I wrote before. Your function returns true when it should return false.
What if walk.length is 4? I think length should be an exact value (and only one) to be valid.
You could post your whole code.
It would be easier to help you that way.
Value is not what was expected
means you returnedtrue
instead offalse
there.Are you checking path length?