https://practice.geeksforgeeks.org/problems/find-median-in-a-stream/0