Guessing game - where 1 player guesses the other players word from a bank of words and the other player could be lying about the correctly guessed letters
Leetcode 2868. The Wording Game
Given a list of words where players alternate picking unused words that start with the last letter of the previous word, determine whether the first player can force a win, loss, or draw under optimal play. The core challenge is to model the words as a directed graph (edges by matching letters) and apply game-theory graph analysis (retrograde DP, SCC/condensation and Grundy-like reasoning) to compute winning/losing/drawing states.
Onde essa pergunta já apareceu
Use esses exemplos para entender em que contexto ela costuma cair e adaptar sua prática.
Materiais associados
Nenhum anexo público associado a esta pergunta.
Depois de treinar essa pergunta, vale abrir outras do mesmo tipo e da mesma senioridade para comparar padrões de resposta.
Isso ajuda a sair da memorização de uma resposta só e entrar em repertório real de entrevista.
Continue a preparação com o banco completo
No app você encontra perguntas parecidas, compara empresas e aprofunda essa busca com mais filtros.