Data Stream Median(LintCode 81):

Problem