Comviva interview question

Find equilibrium point in an array