mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
Corrected the Python Doctest command in equilibrium_index_in_array.py script (#11212)
Co-authored-by: Indrajeet Mishra <indrajeetmishra@thecoddiwompler.local>
This commit is contained in:
parent
2d0ed135a0
commit
b46fc1de04
|
@ -3,7 +3,7 @@ Find the Equilibrium Index of an Array.
|
|||
Reference: https://www.geeksforgeeks.org/equilibrium-index-of-an-array/
|
||||
|
||||
Python doctest can be run with the following command:
|
||||
python -m doctest -v equilibrium_index.py
|
||||
python -m doctest -v equilibrium_index_in_array.py
|
||||
|
||||
Given a sequence arr[] of size n, this function returns
|
||||
an equilibrium index (if any) or -1 if no equilibrium index exists.
|
||||
|
|
Loading…
Reference in New Issue
Block a user