Equilibrium index of an array is an index such that Sum of elements at lower indexes = Sum of elements at higher indexes. For example, consider the array a[] = {-7, 1, 5, 2, -4, 3, 0}. Here, a[0] + a[1] + a[2] = a[4] + a[5] + a[6]. Hence, 3 is the equilibrium index.
-
Notifications
You must be signed in to change notification settings - Fork 1
AquisBlue/Java-progaram-to-find-the-equilibrium-index-of-an-array-
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Equilibrium index of an array is an index such that Sum of elements at lower indexes = Sum of elements at higher indexes.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published