From 1a034c5aba8b3d5e0313f5d12918600baf8300f6 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Wed, 19 Aug 2026 11:23:03 -0400 Subject: [PATCH] docs(assets): add LeetCode dependency spine HTML and SVG --- .github/assets/dependency-spine.html | 305 +++++++++++++++++++++++++++ .github/assets/dependency-spine.svg | 244 +++++++++++++++++++++ 2 files changed, 549 insertions(+) create mode 100644 .github/assets/dependency-spine.html create mode 100644 .github/assets/dependency-spine.svg diff --git a/.github/assets/dependency-spine.html b/.github/assets/dependency-spine.html new file mode 100644 index 0000000..f658b2b --- /dev/null +++ b/.github/assets/dependency-spine.html @@ -0,0 +1,305 @@ + + + + + + LeetCode Dependency Spine + + + + +
+

prdlk / leetcode · dependency spine

+

How the 24 topics build on each other

+ + + LeetCode topic dependency spine + Dependency graph of 24 LeetCode study topics across five phases, showing which topics build on which, with Tree DFS and 1-D dynamic programming as the two central hubs. + + + + + + + + + + + + PHASE I — LINEAR STRUCTURES + + + + PHASE III — HIERARCHICAL + + + + PHASE II — NODAL & GRID + + + + PHASES IV–V — RELATIONAL & DECISION-SPACE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 05 + Binary Search + + + + + + 03 + Two Pointers + + + + + + 04 + Sliding Window + + + + + + 06 + Stack + + + + + + 07 + Monotonic Stack + + + + + + 01 + Hash Lookup + + + + + + 02 + Prefix Sum + + + + + + 11 + Tree DFS + + + + + + 13 + Binary Search Tree + + + + + + 14 + Heap + priority queue + + + + + + 15 + Trie + + + + + + 12 + Tree BFS + + + + + + 08 + Linked List + + + + + + 09 + Hybrid Structures + + + + + + 10 + Matrix Index Math + + + + + + 16 + Graph DFS + + + + + + 18 + Topological Sort + + + + + + 19 + Union-Find + + + + + + 20 + Backtracking + + + + + + 21 + 1-D DP + dynamic programming + + + + + + 22 + Multi-D / Grid DP + + + + + + 17 + Graph BFS + + + + + + 23 + Greedy + + + + + + 24 + Intervals + + + + LEGEND + + + ENTRY — NO PREREQS + + + TOPIC + + + FOCAL HUB + + + BUILDS ON + + + PHASE ZONE + +
+ + diff --git a/.github/assets/dependency-spine.svg b/.github/assets/dependency-spine.svg new file mode 100644 index 0000000..0214400 --- /dev/null +++ b/.github/assets/dependency-spine.svg @@ -0,0 +1,244 @@ + + + LeetCode topic dependency spine + Dependency graph of 24 LeetCode study topics across five phases, showing which topics build on which, with Tree DFS and 1-D dynamic programming as the two central hubs. + + + + + + + + + + + + + PHASE I — LINEAR STRUCTURES + + + + PHASE III — HIERARCHICAL + + + + PHASE II — NODAL & GRID + + + + PHASES IV–V — RELATIONAL & DECISION-SPACE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 05 + Binary Search + + + + + + 03 + Two Pointers + + + + + + 04 + Sliding Window + + + + + + 06 + Stack + + + + + + 07 + Monotonic Stack + + + + + + 01 + Hash Lookup + + + + + + 02 + Prefix Sum + + + + + + 11 + Tree DFS + + + + + + 13 + Binary Search Tree + + + + + + 14 + Heap + priority queue + + + + + + 15 + Trie + + + + + + 12 + Tree BFS + + + + + + 08 + Linked List + + + + + + 09 + Hybrid Structures + + + + + + 10 + Matrix Index Math + + + + + + 16 + Graph DFS + + + + + + 18 + Topological Sort + + + + + + 19 + Union-Find + + + + + + 20 + Backtracking + + + + + + 21 + 1-D DP + dynamic programming + + + + + + 22 + Multi-D / Grid DP + + + + + + 17 + Graph BFS + + + + + + 23 + Greedy + + + + + + 24 + Intervals + + + + LEGEND + + + ENTRY — NO PREREQS + + + TOPIC + + + FOCAL HUB + + + BUILDS ON + + + PHASE ZONE +