https://ide.codingblocks.com/#/s/19349
why is my output not sorted though i have written heapify function???
Https://ide.codingblocks.com/#/s/19349
All things are correct in ur code , just need to heapify in pop function after swapping
https://ide.codingblocks.com/#/s/19400
1 Like
sir , we called heapify function in pop function …but our heapify function is below the pop function…so i m saying how can it work since code is read from top to bottom becoz heapify funciton is not known to the compiler at that point.pls explain
it is member function of the class
1 Like