I\'ve been trying to calculate median but still I\'ve got some mathematical issues I guess as I couldn\'t get the correct median value and couldn\'t figure out
For better performance in terms of time complexity, use MaxHeap - MinHeap to find the median of stream of array.