Add dynamic-programming module: ten classic DP problems, memoization vs tabulation vs space-optimised, call-count and pitfall transcripts (11 tests)

This commit is contained in:
2026-11-09 08:41:01 +00:00
parent 911aef5515
commit cb1b28682f
33 changed files with 1551 additions and 0 deletions
@@ -0,0 +1,6 @@
max heap (MiB) : 48
strings : two of length 5000
full table cells : 25010001 ints = 100 MB
two-row cells : 10002 ints = 40 KB
two rows LCS length : 2500
full table LCS length : java.lang.OutOfMemoryError: Java heap space