6 lines
60 B
Mathematica
6 lines
60 B
Mathematica
|
|
>> equilibriumIndex([-7 1 5 2 -4 3 0])
|
||
|
|
|
||
|
|
ans =
|
||
|
|
|
||
|
|
4 7
|