Available question text
Given a table of accepted friend requests (each row representing a bidirectional friendship between requester_id and accepter_id), count each user's distinct friends by aggregating across both columns as an undirected edge. Return the user(s) with the maximum friend count and that count (follow-up: handle ties by returning all users with the max).
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 602. Friend Requests II: Who Has the Most Friends
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source