Accenture Interview Question

Equilibrium of array (leetcode) .