Can you please help me this question?

Example of a situation where both mean heap and max heap are used

one example i remember is while calculating median of a running stream of numbers both min heap and max heap are used…

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.