When we do binary search then we do
s = m + 1;
if the key > middle element
and s = m - 1
if the key < middle element
But this will work if the array is sorted in increasing order. We have to reverse the conditions if the array is sorted in decreasing order ? Please provide me the correct information ?