Given an array of integers of size n where elements are in the range 1 to n, and some elements appear once while others appear twice, find all numbers that appear twice.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.