Google Interview Question

How would you design a password completeness checker?