i am following dynamic programming tutorial. It is a code for checking if a subset of strings is able to form the main string
A side from memoization, It is mentioned