Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jhot
· 4y ago · 0 comments
The length is n+1 and contains all ints 1 through n, so there can only be a single duplicate.
Comments
[–]
williamkuszmaul
4y ago
But does the question ever say "all"...?