Question d’entretien chez Waymo

Solve a grid based C++ question