Simple explanation of Frederickson's heap selection algorithm

徘徊边缘 提交于 2019-12-07 05:49:35

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!