Optimal schemes for combinatorial query problems with integer feedback

Abstract

A query game is a pair of a set Q of queries and a set F of functions, or codewords f:Q→ Z. We think of this as a two-player game. One player, Codemaker, picks a hidden codeword f∈ F. The other player, Codebreaker, then tries to determine f by asking a sequence of queries q∈ Q, after each of which Codemaker must respond with the value f(q). The goal of Codebreaker is to uniquely determine f using as few queries as possible. Two classical examples of such games are coin-weighing with a spring scale, and Mastermind, which are of interest both as recreational games and for their connection to information theory. In this paper, we will present a general framework for finding short solutions to query games. As applications, we give new self-contained proofs of the query complexity of variations of the coin-weighing problems, and prove new results that the deterministic query complexity of Mastermind with n positions and k colors is (n k/ n + k) if only black-peg information is provided, and (n k / n + k/n) if both black- and white-peg information is provided. In the deterministic setting, these are the first up to constant factor optimal solutions to Mastermind known for any k≥ n1-o(1).

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…