Leetcode 120. How To Find The Minimum Path From Top To Bottom Of A Triangle
Two dynamic programming techniques to solve Leetcode 120. Triangle. One has space complexity O(n^2). The other is O(n).
Jan 23, 20244 min read256

Search for a command to run...
Articles tagged with #dynamic-programming
Two dynamic programming techniques to solve Leetcode 120. Triangle. One has space complexity O(n^2). The other is O(n).

An example of dynamic programming

A simple example of dynamic programming
