In all searching algorithms, check for the size of an array before running the algorithm.
In all searching algorithms, check for the size of an array before running the algorithm.