Chewy interview question

Question involved creating string mappings