This repository contains various searching algorithms implemented in C++.
Please give this repository a ⭐️ if these algorithms help you in any way (it means a lot). Also, feel free to share this repository with your friends.
Thanks for your support! 😄
Sr. No. | Name | File |
---|---|---|
1. | Linear Search | 🔗 Link : Linear Search |
2. | Binary Search | 🔗 Link : Binary Search |
3. | Ternary Search | 🔗 Link : Ternary Search |
4. | Jump Search | 🔗 Link : Jump Search |
5. | Interpolation Search | 🔗 Link : Interpolation Search |
6. | Exponential Search | 🔗 Link : Exponential Search |
To use any of the searching algorithms implemented in this repository, you need to have a C++ compiler installed on your computer.
- Clone this repository to your local machine using
git clone https://github.com/your-username/searching-algorithms-cpp.git
(replaceyour-username
with your GitHub username). - Navigate to the directory of the algorithm you want to use.
- Compile the C++ file using
g++ algorithm_name.cpp -o algorithm_name
(replacealgorithm_name
with the name of the algorithm you want to use). - Run the executable using
./algorithm_name
.
Contributions are always welcome! If you have a new searching algorithm to add, or if you find a bug in an existing algorithm, please open a pull request.
This repository is licensed under the MIT License.