[LeetCode] Triangle, DP solution.