Climbing Stairs: Where Dynamic Programming Starts
Fibonacci in costume โ the recurrence-first discipline in miniature. Python solution and complexity analysis for the dynamic programming interview pattern.
The Augmented Dev ยท Archive
Dynamics 365, Power Platform, AI, system design, and web development โ filter by theme or search across every post.
Newsletter
One email per post. No spam, no tracking pixels, unsubscribe anytime.
11 of 325 articles tagged dynamic-programming
Fibonacci in costume โ the recurrence-first discipline in miniature. Python solution and complexity analysis for the dynamic programming interview pattern.
Fewest coins to a target โ and why greedy dies on [1, 3, 4]. Python solution and complexity analysis for the dynamic programming interview pattern.
Levenshtein distance โ three operations, one table. Python solution and complexity analysis for the dynamic programming interview pattern.
Non-adjacent maximum sum โ the two-variable rolling DP. Python solution and complexity analysis for the dynamic programming interview pattern.
Track the farthest reachable index โ O(n) with one integer of state. Python solution and complexity analysis for the dynamic programming interview pattern.
Match extends the diagonal, mismatch takes the better drop. Python solution and complexity analysis for the dynamic programming interview pattern.
The tails array and patience sorting โ binary search inside DP. Python solution and complexity analysis for the dynamic programming interview pattern.
Extend or restart โ the ending-here state that makes it one pass. Python solution and complexity analysis for the dynamic programming interview pattern.
Equal-halves split โ subset-sum with the backward loop. Python solution and complexity analysis for the dynamic programming interview pattern.
Paths through a lattice โ 2D recurrence, 1D memory. Python solution and complexity analysis for the dynamic programming interview pattern.
Can the string be segmented? Prefix reachability with a set lookup. Python solution and complexity analysis for the dynamic programming interview pattern.