Available question text
Given n people and a list of pairwise associations indicating who is on the same team, compute the size of the connected component (e.g., the team containing a given person or the largest team). The core challenge is grouping members via union-find or BFS/DFS and counting component sizes.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1303. Find the Team Size
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source