Dynamic Programming problem from "LeetCode" = ["Leet", "Code"].
Anonymous
I gave an iterative solution, unfortunately I was too distracted and couldn't think of the dp way to solve the question until the interview was over.
Check out your Company Bowl for anonymous work chats.