Question d’entretien chez Tripadvisor

Maze traversal problem.

Réponse à la question d'entretien

Utilisateur anonyme

2 févr. 2018

I wanted to add more details to this problem. I was given an image of a maze and each turn in the maze is a segment. Given the start co-ordinates of the maze and the number of segments that should be printed , print all the co-ordinates. So, the method params are (int x, int y, int segments) -> output: (x,y) (x,y)...