3 is missing in the output of priority queue video.But
Priority_queue video
hello @epic007
its because ,at the time of taking input we are reading only n-1 elements(loop is starting from 1 and not 0).
thats is the reason 3 is not in the output
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.