Find the Minimum Shared Increment on Nonadjacent Array Positions
Company: IBM
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: easy
Interview Round: Online Assessment
Overview: Choose nonadjacent indices for one common nonnegative increment to make an array nondecreasing, or determine that no operation can succeed.