In this video we will see how we can find equilibrium point in an array. Equilibrium Point is an element that divides an array of size n, into two sub-arrays with equal sums.
Example:
Input: 2 3 4 1 4 5
Output: 1
Explanation: 1 divides the array into two sub arrays [2,3,4] and [4,5], such that the sum of both the sub arrays is 9.
For further explanation checkout the video!!
Next Video: https://www.geeksforgeeks.org/videos/sort-an-array-of-0s-1s-and-2s-sde-sheet-array/
Practice Problem: https://practice.geeksforgeeks.org/problems/equilibrium-point-1587115620/1
Article: https://www.geeksforgeeks.org/find-element-array-sum-left-array-equal-sum-right-array/
SDE Sheet: https://www.geeksforgeeks.org/sde-sheet-a-complete-guide-for-sde-preparation/