PriceLabs interview question

find median in a data stream