public double findMedian() {
        if (minPq.size() == maxPq.size()) {
            return ((double)minPq.peek() + (double)maxPq.peek())/2;
        } else {
            return maxPq.peek();
        }
    }
Date 03/03/2016
@author Tushar Roy

Find median in stream of numbers

https://leetcode.com/problems/find-median-from-data-stream/
src/com/interview/stackqueue/MedianFinder.java