算法设计范式
五大范式覆盖绝大多数"非平凡"算法的设计本质. 学会这套后, 你面对一道陌生的题能机械地走一遍"试哪种范式" workflow.
note
读这五篇前最该记住的: 复杂度不重要, 结构才重要. 同一道 LCS, 写成记忆化搜索 / DP 表 / 递归 + memo 都是同一个东西.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help