Running stram median heap


Im not able to pass the test cases , it says my program is slow ? Even if im applying heap concept to solve the problem

hello @apoorv.chauhann
declare ur both heaps inside while loop and then try

still im failing all the test cases

Now It says that… Dang! You couldn’t score a perfect 100 because you failed one or more testcases. This means that your program didn’t account for all input cases (did you account for negative numbers, for example?).

pls wait ,i will check

@apoorv.chauhann
check now

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.