โ† Paytm questions

Find duplicates in constant array with elements 0 to N-1

Filed under Paytm

Given an array of size N containing elements from 0 to N-1, find all elements that appear more than once in O(N) time and O(1) auxiliary space.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Paytm questions

Collected from public candidate posts and coding forums. Updated Nov 2026.