โ† Paytm questions

Missing and Repeating Elements and Stock Span Problem

Filed under Paytm

Given an unsorted array of size n containing elements from 1 to n, one number is missing and one number occurs twice (repeating). Find both the missing element and the repeating element.

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.