You are given a circular integer array balance of size n.
In one move, you can transfer i with balance[i] (i + 1) % n or (i - 1 + n) % n).
Return the minimum number of moves required to make every element in balance greater than or equal to
Constraints:
balance.length
balance[i]
There is at most balance initially.
You are given a circular integer array balance of size n.
In one move, you can transfer i with balance[i] (i + 1) % n or (i - 1 + n) % n).
Return the minimum number of moves required to make every element in balance greater than or equal to
Constraints:
balance.length
balance[i]
There is at most balance initially.