what is binary search binary search is


What is binary search?  

Binary search is most useful when list is sorted. In binary search, element present in middle of the list is determined. If key (the number to search) is smaller than middle element, binary search is done on the first half. If key (number to search) is greater than middle element, binary search is done on the second half (right). First and the last half are again divided into two by determining the middle element.  

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: what is binary search binary search is
Reference No:- TGS0355128

Expected delivery within 24 Hours