An open API service indexing awesome lists of open source software.

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

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).