*************running median

wrong output

@ayu2321,
Corrected code here.
Problem link.

  • Correction: You were pushing the initial number in heaps twice, ones before while loop, ones inside.

i think u hav not pasted the corrected code in the ide…pls check once becoz ur code is jush showing hello world

@ayu2321,
I have updated the link, please check now.