Pregunta de entrevista de Moveworks

The coding interview was a hangman problem