English
Related papers

Related papers: Solving Static Permutation Mastermind using $O(n \…

200 papers

We analyze the general version of the classic guessing game Mastermind with $n$ positions and $k$ colors. Since the case $k \le n^{1-\varepsilon}$, $\varepsilon>0$ a constant, is well understood, we concentrate on larger numbers of colors.…

Data Structures and Algorithms · Computer Science 2013-01-18 Benjamin Doerr , Carola Doerr , Reto Spöhel , Henning Thomas

Since the 1960s Mastermind has been studied for the combinatorial and information theoretical interest the game has to offer. Many results have been discovered starting with Erd\H{o}s and R\'enyi determining the optimal number of queries…

Combinatorics · Mathematics 2023-09-20 Anders Martinsson , Pascal Su

Mastermind is famous two-players game. The first player (codemaker) chooses a secret code which the second player (codebreaker) is supposed to crack within a minimum number of code guesses (queries). Therefore, codemaker's duty is to help…

Data Structures and Algorithms · Computer Science 2020-03-27 Moura El Ouali , Volkmar Sauerland

In the past three decades, deductive games have become interesting from the algorithmic point of view. Deductive games are two players zero sum games of imperfect information. The first player, called "codemaker", chooses a secret code and…

Data Structures and Algorithms · Computer Science 2013-03-27 Mourad El Ouali , Volkmar Sauerland

We study the query complexity of a permutation-based variant of the guessing game Mastermind. In this variant, the secret is a pair $(z,\pi)$ which consists of a binary string $z \in \{0,1\}^n$ and a permutation $\pi$ of $[n]$. The secret…

Data Structures and Algorithms · Computer Science 2018-12-21 Peyman Afshani , Manindra Agrawal , Benjamin Doerr , Carola Doerr , Kasper Green Larsen , Kurt Mehlhorn

From the 1970s up to now, Mastermind, a classic two-player game, has attracted plenty of attention, not only from the public as a popular game, but also from the academic community as a scientific issue. Mastermind with n positions and k…

Quantum Physics · Physics 2023-02-14 Lvzhou Li , Jingquan Luo , Yongzhen Xu

We study variants of Mastermind, a popular board game in which the objective is sequence reconstruction. In this two-player game, the so-called \textit{codemaker} constructs a hidden sequence $H = (h_1, h_2, \ldots, h_n)$ of colors selected…

Combinatorics · Mathematics 2017-09-27 Aaron Berger , Christopher Chute , Matthew Stone

We analyze the classic board game of Mastermind with $n$ holes and a constant number of colors. A result of Chv\'atal (Combinatorica 3 (1983), 325-329) states that the codebreaker can find the secret code with $\Theta(n / \log n)$…

Data Structures and Algorithms · Computer Science 2015-03-19 Benjamin Doerr , Carola Winzen

In the permutation Mastermind game, the goal is to uncover a secret permutation $\sigma^\star \colon [n] \to [n]$ by making a series of guesses $\pi_1, \ldots, \pi_T$ which must also be permutations of $[n]$, and receiving as feedback after…

Discrete Mathematics · Computer Science 2026-05-05 Bernardo Subercaseaux

Mastermind game is a two players zero sum game of imperfect information. The first player, called codemaker, chooses a secret code and the second player, called codebreaker, tries to break the secret code by making as few guesses as…

Data Structures and Algorithms · Computer Science 2016-11-21 Mourad El Ouali , Christian Glazik , Volkmar Sauerland , Anand Srivastav

We introduce a guessing game, permutation Wordle, in which a guesser attempts to recover a hidden permutation in $S_n$. In each round, the guesser guesses a permutation (using information from previous rounds) and is told which entries of…

Combinatorics · Mathematics 2026-01-27 Samuel A. Kutin , Lawren M. Smithline

In the Generalized Mastermind problem, there is an unknown subset $H$ of the hypercube $\{0,1\}^d$ containing $n$ points. The goal is to learn $H$ by making a few queries to an oracle, which, given a point $q$ in $\{0,1\}^d$, returns the…

Data Structures and Algorithms · Computer Science 2024-09-11 Milind Prabhu , David Woodruff

Mastermind is a popular board game released in 1971, where a codemaker chooses a secret pattern of colored pegs, and a codebreaker has to guess it in several trials. After each attempt, the codebreaker gets a response from the codemaker…

Computer Science and Game Theory · Computer Science 2012-03-15 Giovanni Viglietta

We consider a game in which a blindfolded player attempts to set $n$ counters lying on the vertices of a rotating regular $n$-gon table simultaneously to $0$. When the counters count$\pmod{m}$ we simplify the argument of Bar Yehuda, Etzion,…

Combinatorics · Mathematics 2024-03-01 Samuel Korsky

The stable roommates problem with $n$ agents has worst case complexity $O(n^2)$ in time and space. Random instances can be solved faster and with less memory, however. We introduce an algorithm that has average time and space complexity…

Data Structures and Algorithms · Computer Science 2015-01-22 Stephan Mertens

We present $O(\log\log n)$ round scalable Massively Parallel Computation algorithms for maximal independent set and maximal matching, in trees and more generally graphs of bounded arboricity, as well as for constant coloring trees.…

Distributed, Parallel, and Cluster Computing · Computer Science 2020-08-11 Mohsen Ghaffari , Christoph Grunau , Ce Jin

The eternal graph colouring problem, recently introduced by Klostermeyer and Mendoza, is a version of the graph colouring game, where two players take turns properly colouring a graph. In this note, we study the eternal game chromatic…

Combinatorics · Mathematics 2021-03-02 Vojtěch Dvořák , Rebekah Herrman , Peter van Hintum

We study a family of sorting match puzzles on grids, which we call permutation match puzzles. In this puzzle, each row and column of a $n \times n$ grid is labeled with an ordering constraint -- ascending (A) or descending (D) -- and the…

Data Structures and Algorithms · Computer Science 2026-03-12 Kshitij Gajjar , Neeldhara Misra

We revisit the problem of permuting an array of length $n$ according to a given permutation in place, that is, using only a small number of bits of extra storage. Fich, Munro and Poblete [FOCS 1990, SICOMP 1995] obtained an elegant…

Data Structures and Algorithms · Computer Science 2021-01-12 Bartłomiej Dudek , Paweł Gawrychowski , Karol Pokorski

Permutation patterns and pattern avoidance have been intensively studied in combinatorics and computer science, going back at least to the seminal work of Knuth on stack-sorting (1968). Perhaps the most natural algorithmic question in this…

Data Structures and Algorithms · Computer Science 2019-08-14 Benjamin Aram Berendsohn , László Kozma , Dániel Marx
‹ Prev 1 2 3 10 Next ›