计算机科学 > 数据结构与算法
[提交于 2008年4月8日]
标题:Cache-Oblivious Selection in Sorted X+Y Matrices
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Let X[0..n-1] and Y[0..m-1] be two sorted arrays, and define the mxn matrix A by A[j][i]=X[i]+Y[j]. Frederickson and Johnson gave an efficient algorithm for selecting the k-th smallest element from A. We show how to make this algorithm IO-efficient. Our cache-oblivious algorithm performs O((m+n)/B) IOs, where B is the block size of memory transfers.
提交历史
来自:Shripad Thite[v1] 2008年4月8日 星期二 00:00:00 UTC