Pregunta de entrevista de Google

Create a program to solve the “password” game