LeetCode
Minimum Moves to Equal Array Elements II
Click
here
for an explanation.