Inplace heap sort

i am not getting right output

hello @kabirsachin1999
image

in place of v.size use size passed in ur function

Sorry, but I didn’t find the mistake yet.
Please be more specific

check my previous reply i have highlighted ur mistake as well as shared the updated code

Got it, thanks bhaiya

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.