问题
Is there any simple explanation of Frederickson's heap selection algorithm to find the k'th ranked element in O(k) time in a min-heap available anywhere online? If not, can anyone explain the gut of the algorithm?
回答1:
Try googling "frederickson heap select".
http://160592857366.free.fr/joe/ebooks/ShareData/An%20Optimal%20Algorithm%20for%20Selection%20in%20a%20Min-Heap.pdf
来源:https://stackoverflow.com/questions/12014892/simple-explanation-of-fredericksons-heap-selection-algorithm