if array length is odd
take element # (length+1)/2
else
take average of element # length/2 and # length/2 - 1
solved What is Median of Sorted Arrays in O(log n) complexity? [closed]
if array length is odd
take element # (length+1)/2
else
take average of element # length/2 and # length/2 - 1
solved What is Median of Sorted Arrays in O(log n) complexity? [closed]