mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
799fde4c07
* Update linear_search.py Python implementation of recursive linear search algorithm * Update linear_search.py Added different doctests Added the parameter hints Handled the exception * Update linear_search.py added parameter hints to linear_search * Update linear_search.py Both the functions return the index if the target is found and -1 if it is not found The rec_linear_search raises an exception if there is an indexing problem Made changes in the doc comments * Update linear_search.py Co-authored-by: Christian Clauss <cclauss@me.com> |
||
---|---|---|
.. | ||
binary_search.py | ||
double_linear_search.py | ||
fibonacci_search.py | ||
hill_climbing.py | ||
interpolation_search.py | ||
jump_search.py | ||
linear_search.py | ||
quick_select.py | ||
sentinel_linear_search.py | ||
simple-binary-search.py | ||
simulated_annealing.py | ||
tabu_search.py | ||
tabu_test_data.txt | ||
ternary_search.py |