Path Robotics Interview Question

coding from scratch an advance topic in ML