Rapyuta Robotics interview question

First, was a coding round