Are We Still Missing an Item?

Abstract

The missing item problem, as introduced by Stoeckl in his work at SODA 23, focuses on continually identifying a missing element e in a stream of elements e1, ..., e from the set \1,2,...,n\, such that e ≠ ei for any i ∈ \1,...,\. Stoeckl's investigation primarily delves into scenarios with <n, providing bounds for the (i) deterministic case, (ii) the static case -- where the algorithm might be randomized but the stream is fixed in advanced and (iii) the adversarially robust case -- where the algorithm is randomized and each stream element can be chosen depending on earlier algorithm outputs. Building upon this foundation, our paper addresses previously unexplored aspects of the missing item problem. In the first segment, we examine the static setting with a long stream, where the length of the steam is close to or even exceeds the size of the universe n. We present an algorithm demonstrating that even when is very close to n (say =n-1), polylog(n) bits of memory suffice to identify the missing item. When the stream's length exceeds the size of the universe n i.e. = n +k, we show a tight bound of roughly (k). The second segment focuses on the adversarially robust setting. We show a lower bound for a pseudo-deterministic error-zero (where the algorithm reports its errors) algorithm of approximating (), up to polylog factors. Based on Stoeckl's work and the previous result, we establish a tight bound for a random-start (only use randomness at initialization) error-zero streaming algorithm of roughly ().

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…