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.
Ok got it.
Yes I know. The end point for finish is 3. But if you follow the Directions given above, its not reaching 3.
Log:
Maze: [[1, 1, 1, 1, 1, 1, 1, 1, 0, 1], [1, 3, 1, 0, 1, 0, 0, 0, 0, 1], [1, 0, 1, 0, 0, 0, 1, 1, 0, 1], [1, 0, 1, 1, 1, 1, 1, 0, 0, 1], [1, 0, 1, 0, 0, 0, 0, 0, 0, 1], [1, 0, 1, 0, 1, 0, 1, 0, 0, 1], [1, 0, 1, 0, 1, 0, 0, 0, 0, 0], [1, 0, 1, 0, 1, 0, 1, 1, 0, 1], [1, 0, 0, 0, 1, 0, 0, 0, 0, 1], [1, 1, 1, 0, 1, 1, 1, 1, 2, 1]]
Directions: ["N", "W", "W", "W", "N", "N", "N", "N", "W", "W", "S", "S", "S", "S", "W", "W", "N", "N", "N", "N", "N", "N", "N", "S", "S"]
Should return Finish - Expected: "Finish", instead got: "Lost"
This is the log I got when i attempted. I think this testcase is incorrect.
This comment is hidden because it contains spoiler information about the solution
I had tried it.
There was an issue while returning. Its resolved now.
Anyway thanks.
yeah
My code is not working properly in Ruby.
I tried it on repl and its working.
Passed all the test but still showing as incomplete.