TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Detecting Duplicates in O(1) Space and O(n) Time
9 points
by
jasondavies
over 12 years ago
1 comment
jrajav
over 12 years ago
The more honest but less interesting subheader:<p><i>Given n integers 1 ≤ ai ≤ n - 1, can you detect duplicates in O(1) space and O(n) time?</i>