Minimum Excludant (MEX) Problem

Asked at Radix Trading · Coding Questions · Difficulty: Easy

Given an integer array, find its Minimum Excludant (MEX). MEX is defined as the smallest non-negative integer not present in the array.

Loading the problem…