← Goldman Sachs questions
CodingEasy

Minimum Initial Energy Required To Cross Street

Filed under Goldman Sachs

Given an array representing energy changes at each point when crossing a street, find the minimum initial energy required so that your energy never drops to or below zero at any point.

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 Goldman Sachs questions

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