Decode a password string into letters | Instacart Interview Question