https://github.com/ransomware3301/generic_type_binary_search
Binary Search Algorithm written in C++ that supports multiple data types
https://github.com/ransomware3301/generic_type_binary_search
binary-search cpp search-algorithm
Last synced: 7 days ago
JSON representation
Binary Search Algorithm written in C++ that supports multiple data types
- Host: GitHub
- URL: https://github.com/ransomware3301/generic_type_binary_search
- Owner: Ransomware3301
- License: mit
- Created: 2023-11-02T16:49:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-28T20:57:41.000Z (over 2 years ago)
- Last Synced: 2025-04-10T17:00:31.645Z (over 1 year ago)
- Topics: binary-search, cpp, search-algorithm
- Language: C++
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# generic_type_binary_search
C++ program that searches a value into a given vector
It's called "generalized" due to the use of C++ templates throughout the code, which give you the choice over the data type of both the element to search and the vector,
thus generalizing the algorithm for different data types (int, long int, float, double and char).