Searching for a subset of counterfeit coins: Randomization vs determinism and adaptiveness vs non-adaptiveness
- Gianluca De Marco,
- Dariusz R. Kowalski(corresponding author)
- University of Salerno,
- University of Liverpool
Abstract
We are given n coins of which k are heavy (defective), while the remaining n - k are light (good). We know both the weight of the good coins and the weight of the defective ones. Therefore, if we weigh a subset Q ⊆ S with a spring scale, then the outcome will tell us exactly the number of defectives contained in Q. The problem, known as Counterfeit Coins problem, is to identify the set of defective coins by minimizing the number of weighings, also called queries. It is well known that Θ(klog k +1(n/k)) queries are enough, even for non-adaptive algorithms, in case k ≤ cn for some constant 0 < c < 1. A natural interesting generalization arises when we are required to identify any subset of m ≤ k defectives. We show that while for randomized algorithms Θ̃(m) queries are sufficient, the deterministic non-adaptive counterpart still requires Θ(klog k +1(n/k)) queries, in case k ≤ n/2 8; therefore, finding any subset of defectives is not easier than finding all of them by a non-adaptive deterministic algorithm.
Publication Information
Output type
Original language
English (US)Pages from-to (Number of pages)
Pages 97-109 (13 pages)Journal (Volume, Issue Number)
Random Structures and Algorithms (Volume 42, Issue 1)Publication milestones
- Published - 01/2013
Publication status
ISSN
1042-9832Publication IDs
- Scopus: 84869873546
