Minimum Characters For Words Leetcode, The Approach is to create two dictionaries.