2 out of 5 test cases are wrong what have I done wrong pls tell.
here"s the link of the code
2 out of 5 test cases are wrong what have I done wrong pls tell.
here"s the link of the code
you have to check if you have enough energy to go to the next block as well, if you dont then you cannot exit the maze
Yeah thanks . Now , it is solved.