Python Data Structures and Algorithms
Project description
Python Data Structures and Algorithms
Install
pip3 install gopy
or
pip install gopy
You can test this by making a python file test.py
Example: Bubble Sort
from gopy.sorting import bubble
print(bubble.sort([5,4,3,2,1]))
Output:
[1,2,3,4,5]
Example: Linear Search
from gopy.search import lsearch
print(lsearch.search(3,[5,4,3,2,1]))
Output:
2
Example: Binary Search
from gopy.search import bsearch
print(bsearch.search(30,[5,4,3,2,1]))
Output:
Not Found
List of implementations
Contributing
Any form of contribution is welcome :smile:
Support
If this project helps you, consider supporting
OR
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gopy-0.6.1.tar.gz
(2.6 kB
view hashes)
Built Distribution
gopy-0.6.1-py3-none-any.whl
(4.3 kB
view hashes)