Optimal Algorithm for Winning Hangman
问题 In the game Hangman, is it the case that a greedy letter-frequency algorithm is equivalent to a best-chance-of-winning algorithm? Is there ever a case where it's worth sacrificing preservation of your remaining lives, for the sake of a better chance of guessing the correct answer? Further clarification of the problem: The selected word to be guessed has been taken from a known dictionary. You are given N lives, and thus have to maximise the probability of guessing all the letters in the word