Practice Test Geeks home

Data Structures Arrays and Strings 3

What is the best approach to find all duplicate elements in an array of integers in O(n) time and O(1) extra space?

Select your answer