Skip to content

HimeshKohad/Searching_Algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Searching Algorithms in C++

GitHub stars GitHub forks GitHub license

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! 😄


Table of Contents

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

Usage

To use any of the searching algorithms implemented in this repository, you need to have a C++ compiler installed on your computer.

  1. Clone this repository to your local machine using git clone https://github.com/your-username/searching-algorithms-cpp.git (replace your-username with your GitHub username).
  2. Navigate to the directory of the algorithm you want to use.
  3. Compile the C++ file using g++ algorithm_name.cpp -o algorithm_name (replace algorithm_name with the name of the algorithm you want to use).
  4. Run the executable using ./algorithm_name.

Contributing

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.


License

This repository is licensed under the MIT License.