Y
Hacker News
new
|
ask
|
show
|
jobs
by
jhot
1480 days ago
The length is n+1 and contains all ints 1 through n, so there can only be a single duplicate.
1 comments
williamkuszmaul
1479 days ago
But does the question ever say "all"...?
link