pith. sign in

arxiv: 0804.0936 · v1 · submitted 2008-04-06 · 💻 cs.DS

Cache-Oblivious Selection in Sorted X+Y Matrices

classification 💻 cs.DS
keywords algorithmcache-oblivioussortedarraysblockdefineefficientelement
0
0 comments X
read the original 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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.