Why Sir hasnt use d heapsort in this,it would be easy…
Please answer this
at the end he has discussed using priority_queue which is a heap implementation
no,by using heapSORT
not by his methodddddd
use any method u find easy
his method is correct as well
if u find heap sort method easy u are free to do it
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.