Optimal k-Secretary with Logarithmic Memory

Abstract

We study memory-bounded algorithms for the k-secretary problem. The algorithm of Kleinberg (SODA 2005) achieves an optimal competitive ratio of 1 - O(1/k), yet a straightforward implementation requires (k) memory. Our main result is a k-secretary algorithm that matches the optimal competitive ratio using O( k) words of memory. We prove this result by establishing a general reduction from k-secretary to (random-order) quantile estimation, the problem of finding the k-th largest element in a stream. We show that a quantile estimation algorithm with an O(kα) expected error (in terms of the rank) gives a (1 - O(1/k1-α))-competitive k-secretary algorithm with O(1) extra words. We then introduce a new quantile estimation algorithm that achieves an O(k) expected error bound using O( k) memory. Of independent interest, we give a different algorithm that uses O(k) words and finds the k-th largest element exactly with high probability, generalizing a result of Munro and Paterson (1980).

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…