โ† Razorpay questions
CodingReported in a candidate post, May 2024

Find the number that appears twice in sorted and unsorted arrays

Filed under Razorpay

The question

Find the number that appears twice, first in a sorted array using binary search, then in an unsorted array using XOR logic.

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

Related Razorpay questions

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