A package containing various search algorithms implementations.
Project description
A Python package implementing three classic searching algorithms with a simple and intuitive interface: 1>Binary Search:- To use it one has to import BinarySearch class where by using the search method one can search for target value.
search(arr,target,sorted = False)
Where:
arr: the list to search in
target: the value to search for
sorted: set to True if the list is already sorted, else False
2>Linear Search:-To use it one has to import LinearSearch class where by using the search method one can search for target value.
search(arr,target)
Where:
arr: the list to search in
target: the value to search for
3>Jump Search:-To use it one has to import JumpSearch class where by using the search method one can search for target value.
search(arr,target,sorted = False)
Where:
arr: the list to search in
target: the value to search for
sorted: set to True if the list is already sorted, else False
It's 0.1 version of the package and you can expect many further updates. To install the package, run the following command in your terminal or command prompt:
Command: pip install search_algorithms_pack
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file search_algorithms_pack-0.1.tar.gz.
File metadata
- Download URL: search_algorithms_pack-0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99cae4b5dca7f0794724007c713cecd547714cd40ad150f0d25a82276fb95ebd
|
|
| MD5 |
2d512f2bc22f06f615246a8615565063
|
|
| BLAKE2b-256 |
20d00d54b0d2fbc27c763464629d1aec325f76d77d0f6a9f8c52175a01c578da
|
File details
Details for the file search_algorithms_pack-0.1-py3-none-any.whl.
File metadata
- Download URL: search_algorithms_pack-0.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb8b0e35a0668d565cfe662192304418414d06f0d801efad7b15490d8de9f065
|
|
| MD5 |
5a387796ae81aedcfbb01acabd4e9f47
|
|
| BLAKE2b-256 |
1ab0c58d72ecc3a5001e3a8b2de799847bad52ef376796d821131b143221c7ad
|