an equilibrium index (if any) or -1 if no equilibrium index exists. The equilibrium index of an array is an index such that the sum of elements at lower indexes is equal to the sum of elements at ...
Function for finding the triplets with a given sum in the array using hashing. Given a list of integers, return elements a, b, c such that a + b + c = 0.