Metadata-Version: 2.1
Name: superalgo
Version: 1.0.0
Summary: Python sorting and searching algorithms
Home-page: https://github.com/Harvard90873/algorithms
Author: Harvard90873
Author-email: harvard90873@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
Requires-Dist: data-structures3x

# Python sorting/searching algorithms


The **algorithms3x** is a python package with 5 sorting/searching algorithms. The package would keep updating as python itself updates to higher versions.

It contains the following algorithms:

- Selection sort
- Bubble sort
- Linear search
- Binary search
- Merge sort

# Installation
If not already [install pip](https://pip.pypa.io/en/stable/installing/)

Install the package with `pip` or `pip3`:

```bash
pip install python-algorithms-3x
```

# Usage
### Example:

```Python
from algorithms3x.search import linear_search
linear_search([1, 2, 3], 4)
```

Output:
```Python
False
```

```Python
from algorithms3x.sort import merge_sort
print(merge_sort([4, 1, 2, 3]))
```

Output:
```Python
[1, 2, 3, 4]
```

