pairing_heap.js- 未完全测试,请指正。 参考: https://www.boost.org/doc/libs/1_80_0/boost/heap/pairing_heap.hpp file://boost_1_80_0/doc/html/boost/heap/pairing_heap.html https://github.com/mikolalysenko/pairing-heap.git https://github.com/mgraczyk/PairingHeap.js