searching is the procedure of looking for


Searching is the procedure of looking for something. Searching a list containing 100000 elements is not the similar as searching a list containing 10 elements. We discussed two searching techniques that are Binary Search and Linear Search. Linear Search will search for the key value in the given list directly. Binary search will search for the key value in the given sorted list directly. Thus, the major difference is the way the given list is presented. Binary search is efficient in most of the cases. Though, it had the overhead that the list must be sorted before search can begin, it is very well compensated through the time (which is very less while compared to linear search) it takes to search. There are a great number of applications of Searching out of whom a few were discussed in this unit.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: searching is the procedure of looking for
Reference No:- TGS0413891

Expected delivery within 24 Hours