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

Function binarySearch

searching/modified_binary_search.c:18–39  ·  view source on GitHub ↗

This function does Binary search for `x` in `i`-th row from `j_low` to * `j_high`. * @param mat 2D matrix to search within * @param i row to search in * @param j_low start column index * @param j_high end column index * @param x value to search for * @return column where `x` was found * @return -1 if value not found */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

modifiedBinarySearchFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected