Ad
  • Default User Avatar

    Ok got it.

  • Default User Avatar

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

  • Default 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.

  • Default User Avatar

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

  • Default User Avatar

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

    Anyway thanks.

  • Default User Avatar
  • Default User Avatar

    My code is not working properly in Ruby.

    I tried it on repl and its working.

  • Default User Avatar

    Passed all the test but still showing as incomplete.