How to find the medium number of a given array.
Anonymous
First sort the given set - O(n logn) Then if the size is odd, the middle element if the size is even, then its the average of the two middle elements
Check out your Company Bowl for anonymous work chats.