47. Array Manipulation-ii

Question.4

An array of n integers contains values in the range [0, n-1], with exactly one duplicate. The constraints are: cannot modify the array and O(1) extra space. Which approach works within these constraints?

Need Help? Refer to the Quick Guide below

Select Answer

Restart quiz!