Amazon Robotics Interview Question

A problem about finding the shortest time-consuming path for a robot