โ† Razorpay questions

Find repeated numbers in array from 1 to N

Filed under Razorpay

The question

Given an array of size N containing integers from 1 to N where one integer is repeated, find that number. Also, extend it to find two repeated numbers.

No write-up yet. Related questions below have one.

Related Razorpay questions

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