← Adobe questions
CodingEasy to Medium

Minimum Initial Value for Cumulative Sum to Stay Positive

Filed under Adobe

Given an array of positive and negative integers representing step changes, find the minimum initial positive value x such that the running sum of x and the array elements never drops below 1 at any…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Adobe questions

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