Evil Hangman (Adaptive Secret Word) — Minimum Guesses to Guarantee a Win
You are given a set of candidate words for a Hangman-like game, but the opponent can adaptively change the secret word after each guess as long as it remains consistent with the current board stat...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
