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.