5

Equilibrium point | SDE Sheet | Arrays - Videos | GeeksforGeeks

 2 years ago
source link: https://www.geeksforgeeks.org/videos/equilibrium-point-sde-sheet-arrays/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Equilibrium point
Equilibrium point | SDE Sheet | Arrays
Video Player is loading.
Loaded: 0%
Remaining Time -0:00
  • 360 Views
  • 06/04/2022

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!!

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/


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK