Lintcode: Median - neverlandly - 博客园
Given a unsorted array with integers, find the median of it. A median is the middle number of the array after it is sorted. If there are even numbers in the array, return the N/2-th number after sorted.Read full article from Lintcode: Median - neverlandly - 博客园
No comments:
Post a Comment