Problem description: Visit and Support LintCode Search via Difficulty: Medium Tags: LintCode, Dynamic Programming, O(n), O(1), Medium ProblemSolutionCodeProblem