Iterative Health interview question

Q: Choose a dynamic path for the maze.