Rapyuta Robotics interview question

Graphs, Trees and Stack with some robotics