← Goldman Sachs questions

Minimum cost path with jumps

Filed under Goldman Sachs

Given an array of costs and jump rules allowing two steps forward or one step backward, find the minimum cost to reach the end of the array starting from the first element.

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.