Abstract
Selection and sorting the Cartesian sum, X + Y, are classic and important problems. Here, a new algorithm is presented, which generates the top k values of the form . The algorithm relies on layer-ordered heaps, partial orderings of exponentially sized layers. The algorithm relies only on median-of-medians and is simple to implement. Furthermore, it uses data structures contiguous in memory, cache efficient, and fast in practice. The presented algorithm is demonstrated to be theoretically optimal.
Reference9 articles.
1. Time bounds for selection;Blum;Journal of Computer and System Sciences,1973
2. The soft heap: an approximate priority queue with optimal error rate;Chazelle;Journal of the ACM,2000
3. An optimal algorithm for selection in a min-heap;Frederickson;Information and Computation,1993
4. The complexity of selection and ranking in X + Y and matrices with sorted columns;Frederickson;Journal of Computer and System Sciences,1982
5. Selection from heaps, row-sorted matrices and X + Y using soft heaps;Kaplan,2019
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献