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
In the Heap module, if the left max value is same as the right max value, the max variable will return the right one but the replaceMax function will replace the left one
In the Heap module, if the left max value is same as the right max value, the max variable will return the right one but the replaceMax function will replace the left one
I think just changing
to
(same as popMax does) can fix the problem
Information
The text was updated successfully, but these errors were encountered: