Whats wrong in my down_heapify( ) function

here is the code

Hello @rajsaxena.personal,

I have corrected your code:

Let me know if you don’t understand something.