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

Method LinearSearch

data_structures/list_array.cpp:80–90  ·  view source on GitHub ↗

* @brief Search an element using linear search * @param dataArr list * @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

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected