AppFolio Interview Question

Solve for random password generator with different criteria