Binary search algorithm cannot be applied to?
Tuesday, March 22, 2022
Add Comment
Question: Binary search algorithm cannot be applied to?
Binary search works on sorted arrays. Binary search begins by comparing an element in the middle of the array with the target values. In case the list of elements is not sorted there is no way to use binary search. Because the median value of the list can be anywhere and when the list is split into two parts.
0 Komentar
Post a Comment