Available question text
Determine whether nums is a permutation of base[n] = [1,2,...,n,n] where n is the array's maximum. Equivalently, check that len(nums) == n+1 and numbers 1..n-1 each appear once while n appears twice (and no other values occur).
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 2784. Check if Array is Good
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source