Available question text
Given a list of unique six-letter words and an API that, for any guessed word from the list, returns the number of characters that match the secret in both value and position, identify the secret within a limited number of guesses. The core challenge is designing a guessing strategy (e.g., minimax or information-gain elimination) that efficiently prunes candidates based on match counts to guarantee finding the secret within allowedGuesses.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 2 records
Amazon
Leetcode 843. Guess the Word
Interview reported: Dec 5, 2024 · 1 source report
MID_LEVEL
Source snapshot: Nov 12, 2026
View sourceGoogle
Leetcode 843. Guess the Word
Interview reported: Sep 23, 2024 · 1 source report
MID_LEVEL
Source snapshot: Nov 12, 2026
View source