Skip to main content

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

Paypal

Project details


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.3.tar.gz (22.2 kB view hashes)

Uploaded Source

Built Distribution

gopy-0.6.3-py3-none-any.whl (34.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page