MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / binarySearch

Function binarySearch

search/binary_search.cpp:61–82  ·  view source on GitHub ↗

* @brief The main function which implements binary search * @param arr vector to be searched in * @param val value to be searched * @returns @param int index of val in vector arr *******************************************************************************/

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

test1Function · 0.85
test2Function · 0.85
test3Function · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected