I used the same approach as discussed in solution but though my code failed the testcases.
https://ide.codingblocks.com/s/265882
Median In Stream of Running Integers
hello @D19CPPP0005
bro i am not taking this doubt, some other TA is taking it.
and because it already too late for ur doubt resolution, i would suggest to raise ur doubt again .
online TAs will help u.