Waymo Interview Question

DSA question that required graph traversal