The Query Complexity of a Permutation-Based Variant of Mastermind
Abstract
We study the query complexity of a permutation-based variant of the guessing game Mastermind. In this variant, the secret is a pair which consists of a binary string and a permutation of . The secret must be unveiled by asking queries of the form . For each such query, we are returned the score i.e., the score of is the length of the longest common prefix of and with respect to the order imposed by . The goal is to minimize the number of queries needed to identify . This problem originates from the study of black-box optimization heuristics, where it is known as the \textsc{LeadingOnes} problem. In this work, we prove matching upper and lower bounds for the deterministic and randomized query complexity of this game, which are and , respectively.
Keywords
Cite
@article{arxiv.1812.08480,
title = {The Query Complexity of a Permutation-Based Variant of Mastermind},
author = {Peyman Afshani and Manindra Agrawal and Benjamin Doerr and Carola Doerr and Kasper Green Larsen and Kurt Mehlhorn},
journal= {arXiv preprint arXiv:1812.08480},
year = {2018}
}
Comments
Full version of a result previously announced in 2013. Accepted subject to minor revision at Discrete Applied Mathematics