Pergunta de entrevista da empresa Google

How would you design a password completeness checker?