← Goldman Sachs questions
CodingReported in a candidate post, Jul 2021

Equalize Array Elements with Increment Moves

Filed under Goldman Sachs

Given an array of integers, in each move you can increment any n-1 elements by 1. Determine the minimum number of moves required to make all array elements equal.

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.