← Cognizant questions

Find the equilibrium index of an array

Filed under Cognizant · Also reported at Walmart

Given an array of integers, find the equilibrium index. An equilibrium index is an index such that the sum of elements at lower indices is equal to the sum of elements at higher indices. If no such…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Cognizant questions

Collected from public candidate posts and coding forums. Updated Nov 2026.