Merge overlapping intervals per group in pandas | Waymo Interview Question