Binary search algorithm cannot be applied to?


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

let's start discussion

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Latest Post