Google Interview Question

Create a program to solve the “password” game