English

Cache-Oblivious Selection in Sorted X+Y Matrices

Data Structures and Algorithms 2008-04-08 v1

Abstract

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.

Cite

@article{arxiv.0804.0936,
  title  = {Cache-Oblivious Selection in Sorted X+Y Matrices},
  author = {Mark de Berg and Shripad Thite},
  journal= {arXiv preprint arXiv:0804.0936},
  year   = {2008}
}
R2 v1 2026-06-21T10:28:09.298Z