• + 1 comment

    I ended up explaining how to build the DP matrix here. That should help understanding half of the solution.