MCPcopy Create free account
hub / github.com/geekcomputers/Python / Python-Array-Equilibrium-Index.py

File Python-Array-Equilibrium-Index.py

Python-Array-Equilibrium-Index.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Array Equilibrium Index
2Send Feedback
3Find and return the equilibrium index of an array. Equilibrium index of an array is an index i such that the sum of elements at indices less than i is equal to the sum of elements at indices greater than i.
4Element at index i is not included in either part.

Callers

nothing calls this directly

Calls 1

equilibriumFunction · 0.85

Tested by

no test coverage detected