A Python module to learn all the major algorithms on the go!
Purely for educational purposes
Purely for educational purposes
- Super easy to use
- A very easy to understand Documentation
- Get the code right in your editor
- Get time complexities on the go
- Just fire the following command in your terminal:
pip3 install pygorithm
- It's that easy. If you are using Python 2.7 use pip instead. Depending on your
permissions, you might need to usepip install --user pygorithm
to install. - Or you can download the source code from here, and then just install the package using
python setup.py install
- To sort your list
- To get the code for function used
- To get the time complexity of an algorithm
- To see all the available functions in a module. For example, if you want to see what all sorts are available in the sorting module, then just do
* Just type in the following command to run the tests :
python3 -m unittest
- This will run all the tests defined in the files of the
tests/
directory