개발공부/algorithm
[Leetcode][python] 120: triangle - DP
Leetcode 120: Triangle Level: Medium Link Triangle - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com My Approach Sum up the previous lists values to the current list For the first element and the last element, add up the first element of the last element of the list before. Continu..