Searching techniques in Data Structure


What is searching?
Searching is a technique of finding a given value in a collection of values. It decides whether the search value is present in the collection of values or not.

Why do we need searching?
1. Searching is the one of the most important algorithm of data structure.
2. Today's, we know that computers/phones store a lot of information.
3. To retrieve this information efficiently we need to a searching techniques.

Types of searching techniques:-
There are two types of searching techniques they are as follows:-
1) Linear or sequential search
2) Binary search

1. Linear Search:- Click here...

2. Binary Search:- Click here...

Post a Comment

0 Comments