← Amazon questions

Equalize Distribution of Chocolates

Filed under Amazon

Given an array of integers representing chocolate counts, find the minimum number of operations to make all elements equal, where one operation consists of transferring one unit from an index to an…

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 Amazon questions

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