So i am having some trouble with the Labyrinth puzzle and i don’t know what is wrong. I used DFS to reach the control center for the first part of the puzzle. Once I am there I use A star to find the shortest path to the initial position. However,
when I print out the path, the CodinGame IDE does not accept the new path and instead just prints the reverse of the path I used to reach the control panel. Any ideas on what could be the issue ?