Ad
  • Custom User Avatar

    Ok got it.

  • Custom User Avatar

    Yes I know. The end point for finish is 3. But if you follow the Directions given above, its not reaching 3.

  • Custom User Avatar

    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.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I had tried it.
    There was an issue while returning. Its resolved now.

    Anyway thanks.

  • Custom User Avatar
  • Custom User Avatar

    My code is not working properly in Ruby.

    I tried it on repl and its working.

  • Custom User Avatar

    Passed all the test but still showing as incomplete.