Geeky Questions Devesh 2011 BIT Patna EQUILIBRIUM INDEX OF AN ARRAY Equilibrium index of an array is an index such that the sum of elements at lower indexes is equal to the…