Thursday, March 28, 2019

SEARCHING


  • Searching refers to determining whether an elements is present in a given list of elements or not.
  • If the element is found to be present in the list then the search is considered as successful, otherwise it is consider as an unsuccessful search. 
  • The search operation returns the location or address of the element found.
       

Searching Techniques

          To search an element in a given array,it can be done in following ways,
  1. Sequential search (or) linear search.
  2. Binary search.
We see this searching techniques on the following post.

No comments:

Post a Comment