You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the heapsort uses recursion to achieve the bubble-up/bubble-down - as this is tail recursive it could be done inside a loop - and use only one stack frame - preventing potential stack overflow.