Available question text
Given an array of length n+2 containing integers 0..n-1 where every number should appear exactly once but exactly two values appear twice, identify and return those two duplicate numbers (in any order).
Related questions
Continue with questions that share topics or the same question type.
- Add Two Numbers
Coding · Linked List · Math · Recursion
- Add Two Numbers II
Coding · Linked List · Math · Stack
- Adding Two Negabinary Numbers
Coding
- Choose Numbers From Two Arrays in Range
Coding
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 3289. The Two Sneaky Numbers of Digitville
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source