Problem B5 · Easy
Maintain a priority queue while observing sift-up and sift-down.
Open the interactive visualisation