a binary search makes only sense on a sorted array.

Reply via email to