Median in a stream of running Integers


My code is not working , please help

@56amrut.bhokardankar
There is mistake in line 52 change it to lh.push(rh.top());

still getting time limit error in 2 cases

@56amrut.bhokardankar
It working on hackerblocks . Can you plz verify
https://hack.codingblocks.com/app/contests/1301/1351/problem

True, all test cases are getting passed in hacker blocks.
Then how should i mark it as complete in challenges?

@56amrut.bhokardankar
My am telling this problem to concern person. Will resolve soon.