So I was working on Leetcode on Word Breaking II, and came up with two implementations that are similar but differ in memoization. However, one will pass the specs while the