Round 1
Screening (DSA)
GraphsData Structures
Key Observations
- The interviewer required an optimized solution rather than a brute-force approach.
- Proficiency in Disjoint Set Union (DSU), specifically path compression and union by rank, was essential for solving the problem efficiently.
Questions Asked (1)
Q1
Number of Islands II (Dynamic graph connectivity)