Pregunta de entrevista de Google

How would you design a password completeness checker?