NIST

array search

(classic problem)

Definition: Find an element in an array. Various algorithms exist which require more or less structure in the array elements or implementation.

See also linear search, binary search, interpolation search, string matching.

Note: An external index, such as a hash table or inverted index may help make the search quicker and speed overall processing if the array is not changed often.

Author: PR


Go to the Dictionary of Algorithms and Data Structures home page.

If you have suggestions, corrections, or comments, please get in touch with Paul E. Black.

Entry modified 17 December 2004.
HTML page formatted Fri Mar 25 16:20:34 2011.

Cite this as:
Patrick Rodgers, "array search", in Dictionary of Algorithms and Data Structures [online], Paul E. Black, ed., U.S. National Institute of Standards and Technology. 17 December 2004. (accessed TODAY) Available from: http://www.nist.gov/dads/HTML/arraysearch.html

to NIST home page