State machine dp

4 videos • 4 views • by LetsCode Need to analize the current state, how it is transformed from one state to another, current may have many state, many state can transmit at the same time, using dfs + memo is good way for solving such problems.