Write a function that takes an integer array and an integer variable as an argument the function then finds the position of the element in the array using binary search algorithm assume that the array is sorted in ascending order
Answers
Answered by
2
Given an array of integers which is initially increasing and then decreasing, find .... We can modify the standard Binary Search algorithm for the given type of arrays.
Similar questions
Physics,
7 months ago
CBSE BOARD XII,
7 months ago