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

Method search

data_structures/list_array.cpp:97–115  ·  view source on GitHub ↗

* @brief Parent function of binarySearch and linearSearch methods * @param val element that will be searched * @return index of element in the list if present else -1 */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testFunction · 0.45

Calls 1

LinearSearchFunction · 0.85

Tested by

no test coverage detected