find_equilibrium_index
Finds the equilibrium index in an array where the sum of elements to the left equals the sum of elements to the right. Returns -1 if no such index exists. (cost: 1 credit)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arr | No | array of numbers, required, the input array to search, no units, no default |