Available question text
Given an array of length 2n containing n+1 distinct values where exactly one value appears n times, return the value that is repeated n times. The core challenge is to identify the element with frequency n (detectable in linear time using frequency tracking or a set thanks to the guaranteed repetition).
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 961. N-Repeated Element in Size 2N Array
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source