Draw flow chart of binary search algorithm and explain its working
Answers
Answered by
0
Answer:
There is a linear array 'a' of size 'n'. Binary search algorithm is being used to search an element 'item' in this linear array. Variables beg and end keeps track of the index of the first and last element of the array or sub array in which the element is being searched at that instant. ...
Similar questions
History,
3 months ago
Social Sciences,
3 months ago
English,
6 months ago
English,
11 months ago
Economy,
11 months ago