Minimum operations to make array continuous
Filed under Uber
The question
Given an array of N elements, find the minimum number of replacement operations required so that the array contains a continuous range of elements.
No write-up yet. Related questions below have one.
Related Uber questions
Collected from public candidate posts and coding forums. Updated Nov 2026.