Djikstras Heap is still slightly buggy. Median Maintenance via Heap contains a fixed version. Standford Algorithms, Assignment 5