Lemma

Puzzles · Chapter 14 of 14

Strategy

2 curated · 0 from open sources

Before you startAI-drafted · not yet reviewed by an editor

The core idea is to find a strategy that guarantees success regardless of your opponent's choices or the hidden value of . In games, this often means identifying "safe positions"—amounts that leave your opponent in a losing spot. For the stone games, if players can take through stones, multiples of are losing positions because any move your opponent makes can be countered to return the total to the next multiple of . In the egg problem, you balance the risk of breaking the first egg with the need to test remaining floors linearly with the second egg to minimize the maximum number of drops.

Curated

2
#TitleDifficultyTags