Epic interview question

Question about generating codes from cellphone digits