To apply binarySearch method to an array, it needs to be a sorted array. If not sorted, then it will result in ______
°Unpredictable output
° Sort the array and produce the result °Compilation Error
Answers
Answered by
3
Answer:
Sort the array and produce the result
Explanation:
Please mark me brainilist
Answered by
1
Answer:
Ans- Unpredictable output
Explanation:
To apply binarySearch method to an array, it needs to be a sorted array. If not sorted, then it will result in Unpredictable output.
Similar questions
Math,
11 days ago
CBSE BOARD X,
11 days ago
Math,
11 days ago
Biology,
23 days ago
English,
8 months ago
English,
8 months ago
Social Sciences,
8 months ago