低题量原则:通常每周 2–3 题;Hog、Cats、Ants 或 Scheme Interpreter 的 project-heavy weeks,1–2 题或暂停都正常。先在 DSA 页面完成 Learn 与 Implement。
固定训练循环
课程先学概念
↓
自己实现最小版本
↓
2 × Easy + 1 × Medium
↓
写复杂度与选择理由
↓
3–7 天后复做 1 题
完成一道题的标准
不以“刷够 50 题”为 KPI。更重要的是能解释数据结构选择、time / space complexity,并在 3–7 天后不看旧代码重新写出来。
01 · Array / Hash Table
02 · Stack / Queue
03 · Recursion / Backtracking
04 · Linked List / Binary Search
05 · Heap / Sorting
Kth Largest Elementheap / quickselect
Top K Frequenthash + heap / bucket
Merge Intervalssorting + scan
06 · Tree / BST
07 · Graph
Flood Fillgraph traversal 入门
Number of Islandsconnected components
Course Scheduledirected cycle / topo