In my last post I attempted this problem, but got the requirements flipped.
NOTE: I had the problem flipped. This solution below assumes I need to complete all the dictionary words with the string. I actually need to complete the string using any or all of the words in the dictionary. My solution works to solve the problem I had in mind, but it doesn't work to solve the actual problem. I am keeping this for posterity, but will restart this problem in a new post.
Hey folks. This is my study and accountability blog for making my way through the Grind 75 set of LeetCode problems. I’ve never found much success studying Data Structures and Algorithms, so I'm going to focus on the patterns used for each solution more than the solutions themselves.