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.
Closing as this is not a proper kata issue.
That doesn't solve the problem, you want the path to start and end at the same point, what you're doing would return true for a path like this:
['n','n','n','n','n','n','n','n','n','n']
where you can easily see you end at ten blocks from where you started.Those are two different conditions that the path must comply for your function to return true. What other meaning do you think it could have? I don't think that's a kata issue.
The instructions are not very clear. Not sure what this sentence: "so create a function that will return true if the walk the app gives you will take you exactly ten minutes (you don't want to be early or late!) and will, of course, return you to your starting point" is trying to say. Are those 2 different conditions? Or all equations will return you to the starting point - if so, what is the point?