diff --git a/apps/docs/content/1d-dynamic-programming/index.mdx b/apps/docs/content/1d-dynamic-programming/index.mdx new file mode 100644 index 0000000..a1c9069 --- /dev/null +++ b/apps/docs/content/1d-dynamic-programming/index.mdx @@ -0,0 +1,5 @@ +--- +title: 1-D Dynamic Programming +description: 'The result for each state is stored in a list, and each new result is computed from the results before it.' +hidden: true +--- diff --git a/apps/docs/content/binary-search-tree/index.mdx b/apps/docs/content/binary-search-tree/index.mdx new file mode 100644 index 0000000..99910f1 --- /dev/null +++ b/apps/docs/content/binary-search-tree/index.mdx @@ -0,0 +1,5 @@ +--- +title: Binary Search Tree +description: 'Each node holds a value that is larger than its left subtree and smaller than its right subtree.' +hidden: true +--- diff --git a/apps/docs/content/binary-search/index.mdx b/apps/docs/content/binary-search/index.mdx new file mode 100644 index 0000000..6c507b4 --- /dev/null +++ b/apps/docs/content/binary-search/index.mdx @@ -0,0 +1,5 @@ +--- +title: Binary Search +description: 'Half of a sorted range is removed at each step until the target is found.' +hidden: true +--- diff --git a/apps/docs/content/graph-bfs/index.mdx b/apps/docs/content/graph-bfs/index.mdx new file mode 100644 index 0000000..ec83702 --- /dev/null +++ b/apps/docs/content/graph-bfs/index.mdx @@ -0,0 +1,5 @@ +--- +title: Graph BFS +description: 'Nodes are visited in order of distance from the start, which gives the shortest path in an unweighted graph.' +hidden: true +--- diff --git a/apps/docs/content/graph-dfs/index.mdx b/apps/docs/content/graph-dfs/index.mdx new file mode 100644 index 0000000..4065783 --- /dev/null +++ b/apps/docs/content/graph-dfs/index.mdx @@ -0,0 +1,5 @@ +--- +title: Graph DFS +description: 'Each edge is followed to its end, and a visited set prevents a repeat visit.' +hidden: true +--- diff --git a/apps/docs/content/greedy/index.mdx b/apps/docs/content/greedy/index.mdx new file mode 100644 index 0000000..b70f80b --- /dev/null +++ b/apps/docs/content/greedy/index.mdx @@ -0,0 +1,5 @@ +--- +title: Greedy +description: 'The best local choice is made at each step and is not changed later.' +hidden: true +--- diff --git a/apps/docs/content/hash-table/index.mdx b/apps/docs/content/hash-table/index.mdx new file mode 100644 index 0000000..00e00ca --- /dev/null +++ b/apps/docs/content/hash-table/index.mdx @@ -0,0 +1,5 @@ +--- +title: Hash Table +description: 'A key maps to a value in constant time, which removes the need for a full scan.' +hidden: true +--- diff --git a/apps/docs/content/heap-priority-queue/index.mdx b/apps/docs/content/heap-priority-queue/index.mdx new file mode 100644 index 0000000..46741bd --- /dev/null +++ b/apps/docs/content/heap-priority-queue/index.mdx @@ -0,0 +1,5 @@ +--- +title: Heap / Priority Queue +description: 'The largest or smallest item is always at the top, and it is removed in logarithmic time.' +hidden: true +--- diff --git a/apps/docs/content/hybrid-structures/index.mdx b/apps/docs/content/hybrid-structures/index.mdx new file mode 100644 index 0000000..ecd5072 --- /dev/null +++ b/apps/docs/content/hybrid-structures/index.mdx @@ -0,0 +1,5 @@ +--- +title: Hybrid Structures +description: 'Two structures are combined, such as a hash map and a linked list, to get the best properties of each.' +hidden: true +--- diff --git a/apps/docs/content/intervals/index.mdx b/apps/docs/content/intervals/index.mdx new file mode 100644 index 0000000..7767ca1 --- /dev/null +++ b/apps/docs/content/intervals/index.mdx @@ -0,0 +1,5 @@ +--- +title: Intervals +description: 'Ranges with a start and an end are sorted, and then merged, counted, or scheduled.' +hidden: true +--- diff --git a/apps/docs/content/linked-list/index.mdx b/apps/docs/content/linked-list/index.mdx new file mode 100644 index 0000000..0ea98e6 --- /dev/null +++ b/apps/docs/content/linked-list/index.mdx @@ -0,0 +1,5 @@ +--- +title: Linked List +description: 'Each node points to the next node, and the pointers give the path through the data.' +hidden: true +--- diff --git a/apps/docs/content/matrix-index-math/index.mdx b/apps/docs/content/matrix-index-math/index.mdx new file mode 100644 index 0000000..fab3b78 --- /dev/null +++ b/apps/docs/content/matrix-index-math/index.mdx @@ -0,0 +1,5 @@ +--- +title: Matrix Index Math +description: 'A two-dimensional grid is read as a flat array through a formula, and the neighbors are found by arithmetic.' +hidden: true +--- diff --git a/apps/docs/content/monotonic-stack/index.mdx b/apps/docs/content/monotonic-stack/index.mdx new file mode 100644 index 0000000..03af99b --- /dev/null +++ b/apps/docs/content/monotonic-stack/index.mdx @@ -0,0 +1,5 @@ +--- +title: Monotonic Stack +description: 'A stack keeps its items in sorted order, which finds the next larger or smaller item in one pass.' +hidden: true +--- diff --git a/apps/docs/content/multi-d-grid-dp/index.mdx b/apps/docs/content/multi-d-grid-dp/index.mdx new file mode 100644 index 0000000..ee71452 --- /dev/null +++ b/apps/docs/content/multi-d-grid-dp/index.mdx @@ -0,0 +1,5 @@ +--- +title: Multi-D / Grid DP +description: 'The result for each state is stored in a table with two or more dimensions, and each cell is computed from its neighbors.' +hidden: true +--- diff --git a/apps/docs/content/prefix-sum/index.mdx b/apps/docs/content/prefix-sum/index.mdx new file mode 100644 index 0000000..08a4c0b --- /dev/null +++ b/apps/docs/content/prefix-sum/index.mdx @@ -0,0 +1,5 @@ +--- +title: Prefix Sum +description: 'A running total is stored at each index, so the sum of any range is one subtraction.' +hidden: true +--- diff --git a/apps/docs/content/progress.mdx b/apps/docs/content/progress.mdx new file mode 100644 index 0000000..8b1576e --- /dev/null +++ b/apps/docs/content/progress.mdx @@ -0,0 +1,7 @@ +--- +title: Progress +description: Live SRS campaign dashboard — phases, ladder, review queue, gates, and recent attempts, fetched from the SRS Worker. +icon: loader +--- + + diff --git a/apps/docs/content/stack/index.mdx b/apps/docs/content/stack/index.mdx new file mode 100644 index 0000000..2b58b86 --- /dev/null +++ b/apps/docs/content/stack/index.mdx @@ -0,0 +1,5 @@ +--- +title: Stack +description: 'Items are added and removed from one end, so the last item added is the first item removed.' +hidden: true +--- diff --git a/apps/docs/content/tree-bfs/index.mdx b/apps/docs/content/tree-bfs/index.mdx new file mode 100644 index 0000000..a1916a4 --- /dev/null +++ b/apps/docs/content/tree-bfs/index.mdx @@ -0,0 +1,5 @@ +--- +title: Tree BFS +description: 'All nodes at one level are visited before the nodes at the next level.' +hidden: true +--- diff --git a/apps/docs/content/tree-dfs/index.mdx b/apps/docs/content/tree-dfs/index.mdx new file mode 100644 index 0000000..c81409d --- /dev/null +++ b/apps/docs/content/tree-dfs/index.mdx @@ -0,0 +1,5 @@ +--- +title: Tree DFS +description: 'Each branch is followed to its end before the next branch is examined.' +hidden: true +--- diff --git a/apps/docs/content/trie/index.mdx b/apps/docs/content/trie/index.mdx new file mode 100644 index 0000000..f193c45 --- /dev/null +++ b/apps/docs/content/trie/index.mdx @@ -0,0 +1,5 @@ +--- +title: Trie +description: 'Each node holds one character, and a path from the root spells a word.' +hidden: true +--- diff --git a/apps/docs/content/two-pointers/index.mdx b/apps/docs/content/two-pointers/index.mdx new file mode 100644 index 0000000..b7118e0 --- /dev/null +++ b/apps/docs/content/two-pointers/index.mdx @@ -0,0 +1,5 @@ +--- +title: Two Pointers +description: 'Two indices move through the data from different positions and meet at the answer.' +hidden: true +---