Waymo interview question

Standard algorithmic/DS questions