Array
2598. Smallest Missing Non-negative Integer After Operations
Given nums and a value value. One operation adds or subtracts value from any element, repeatedly. Find the maximum achievable MEX — the smallest non-negative integer not in the array after…
Loading…