An analysis of a bounded resource search puzzle
Gopal Ananthraman
Abstract
Consider the commonly known puzzle, given k glass balls, find an optimal algorithm to determine the lowest floor of a building of n floors from which a thrown glass ball will break. This puzzle was originally posed in its original form in focs1980and was later cited in the book algthc. There are several internet sites that presents this puzzle and its solution to the special case of k=2 balls. This is the first such analysis of the puzzle in its general form. Several variations of this puzzle have been studied with applications in Network Loading cgstctl which analyzes a case similar to a scenario where an adversary is changing the lowest floor with time. Although the algorithm specified in algthc solves the problem, it is not an efficient algorithm. In this paper another algorithm for the same problem is analyzed. It is shown that if m is the minimum number of attempts required then for k ≥ m we have m = (n+1) and for k < m we have, 1 + Σi=1km-1i < n ≤ Σi=1kmi
Create a lesson
Related papers
Constructive Arboricity in Almost-Linear Time for Dense Graphs
Iman Gholami, Mohammad T. Hajiaghayi, Mahdi JafariRaviz et al.
Tight asymptotic competitive ratio for the Canadian Traveller Problem on unit-weighted grids
Pierre Bergé, Vsevolod Chernyshev, Malory Marin et al.
Breaking Two Barriers for Dynamic Planar Reachability
Adam Karczmarz, Michał Włodarczyk
Deterministic Girth Approximation in Weighted Undirected Graphs
Avi Kadria
Polynomial directed treewidth forces a large bramble with congestion two
Victor A. Campos, Raul Lopes, Rodrigo Nogueira et al.
Minimizing fuzzy Kripke models over residuated lattices
Linh Anh Nguyen