Programming Languages
C
Subjective
Mar 15, 2013
What is the difference between SEARCH and SEARCH ALL? What is more efficient?
Detailed Explanation
SEARCH is a sequential search from the beginning of the table. SEARCH ALL is a binary search, continually dividing the table in two halves until a match is found. SEARCH ALL is more efficient for tables larger than 70 items.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts