Top "Min-heap" questions

C++ min heap with user-defined type

I am trying to implement a min heap in c++ for a struct type that I created. I created a …

c++ stl struct user-defined-types min-heap
min heap in python

I'd like to store a set of objects in a min heap by defining a custom comparison function. I see …

python object heap min-heap
Constructing Min/Max Binary Heap

Given an inorder-traversal list, what's the best way to create a Binary Min/Max Heap? I'm trying to confine with …

algorithm binary-heap min-heap max-heap
prove the algorithm that uses min-heap to merge k sorted lists

I'm reading CLRS and had some problem with the exercise 6.5-8. Give an O(n lg k)-time algorithm to …

algorithm min-heap