An analysis of a bounded resource search puzzle

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

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…