Algorithms
Algorithms copied to clipboard
Add Linear Search Algorithm
trafficstars
I would like to help :-)
Mam Could i do this task.
Please assign this task to me
We don't need this algorithm, it's trivial to implement with just a for loop:
int key = ...;
for (int i = 0; i < n; i++)
if (array[i] == key)
return i;