Count Connected Components in an Undirected Graph
Company: Amazon
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Technical Screen
Quick Answer: This question evaluates understanding of graph connectivity and cycle detection, measuring competency in reasoning about connected components and the use of appropriate graph data structures.