I have to say this is the best DP problem ever

  • 0

    Sophisticated in thinking, concise in code. And DP seems to be the only solution. Though I cannot work it out first time, I love this problem!

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.