Searching on Data Structure and Algorithms related Questions and Answers


Question :   Which of the following step is taken after finding an element having value greater than the element being searched?
1. linear search takes place in the forward direction
2. linear search takes place in the backward direction
3. binary search takes place in the forward direction
4. binary search takes place in a backward direction
5.
Answer :   2 - linear search takes place in the backward direction  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter