i am not able to get the correct output for insert as well as deletion of the highest element
UPHEAPIFY AND DOWNHEAPIFY
Hey @Kush_1312
Great implementation
There was only one error which I’ve commented here
I’ve removed your variable N in the main function
It seemed useless so maybe look into that
If your doubt is resolved please close it