← Goldman Sachs questions
CodingEasy

Min/Max in Array, Pair Sum, and Water Jug Puzzle

Filed under Goldman Sachs

Given an array of integers, find its minimum and maximum elements, find all pairs that sum to a given target, and solve the classic water jug puzzle to measure exactly 4 liters using 3-liter and…

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.