n + 1 numbers in the range 1..n, exactly one value repeated. Find it in O(n) time and O(1) extra space without modifying the array.
n + 1 numbers in the range 1..n, exactly one value repeated. Find it in O(n) time and O(1) extra space without modifying the array.
The discussion opens with the full question.