Connected Components in Undirected Graph
Filed under Amazon · Also reported at TripAdvisor
The question
Find the number of connected components in an undirected graph, along with a design problem.
No write-up yet. Related questions below have one.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.