โ† Razorpay questions

Find MEX of an array

Filed under Razorpay

The question

Find the Minimum Excluded value (MEX) of an array in O(N) time without using extra space.

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

Related Razorpay questions

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