shadow
Template Community / Binary Search Flowchart

Binary Search Flowchart

EdrawMax user profile image
Ashley
Published on 2021-07-16
Download
Download
Download EdrawMax
Edit Online
logoanimation
Binary search is an efficient search as compared to a linear search. It is used to search elements from a sorted array. In the search middle element of an array is compared with the item. If they are equal, then a search is successful. Otherwise, if the item is greater than the middle element, then perform searching in the upper half, or if the item is less than the middle element, then perform searching in the lower half. Initially set beg = 1 and end = size of the array, then find the middle of an array using mid = (beg+end)/2. Compare array [mid] with the item to be searched, if they are equal, the search is booming, and the process is stopped.
Tag
algorithm flowchart
Report
0
522
EdrawMax user profile image
Post
Recommended Templates