Earliest Time All Riders Are Connected (Union-Find, Then Blocks)
Also reported as LeetCode 1101
Phone ScreenUberLast reported June 2026Medium Frequency
Reported
5× across candidate reports
First seen
January 2026
Last reported
June 2026
Reported outcome
pass
Problem Overview
Uber phone-screen question, reconstructed from 5 candidate reports (January 2026 to June 2026). Candidates reported 3 follow-ups. The write-up includes a Python solution that passes 12 test cases.
3 candidate-reported follow-ups — the probes candidates report being asked, with the trigger for each
The full problem statement — full requirements, constraints, and edge cases
Approach and trade-offs — what passing candidates did, and the mistakes that sink people
Unlock the full Uber catalog
Full problem statements, candidate-reported follow-ups, and walkthroughs — for every Uber question.