Quote:
Originally Posted by DustyPorViva
if (2 in array) true;
else false;
?
|
binary_search() is pretty famous.
It's searches a numeric sorted array in an efficient way (usually only used on big arrays).
200'000 Elements -> only searches 100'000.
etc.