mirror of
https://github.com/prdlk/leetcode.git
synced 2026-11-03 05:27:36 +00:00
docs(docs): restructure documentation hierarchy and rename files
This commit is contained in:
1 parent
7178cbeeb4
commit
4b1c9bd5f9
64 files changed
+11
-973
No files matched your search
@@ -0,0 +1,21 @@
|
||||
---
|
||||
title: 'Arrays and Strings'
|
||||
description: 'O(1) index access, order is information.'
|
||||
sidebar:
|
||||
icon: play
|
||||
label: Overview
|
||||
---
|
||||
|
||||
:::warning[Under construction]
|
||||
This page is a scaffold. Notes, canonical problems, and template code are not written yet.
|
||||
:::
|
||||
|
||||
## Patterns
|
||||
|
||||
- [Two Pointers](/guides/coding/contiguous-linear/two-pointers) — Converging/parallel index walk that prunes the O(n^2) pair space using order.
|
||||
- [Sliding Window](/guides/coding/contiguous-linear/sliding-window) — Two pointers plus incremental state between them.
|
||||
- [Prefix Sum](/guides/coding/contiguous-linear/prefix-sum) — Precomputed cumulative state for O(1) range queries.
|
||||
- [Binary Search](/guides/coding/contiguous-linear/binary-search) — Halving over any monotonic predicate, not just sorted arrays.
|
||||
- [Matrices](/guides/coding/contiguous-linear/matrices) — 2D index arithmetic; often a graph in disguise.
|
||||
|
||||
**Systems anchor:** Prefix sum is a materialized view; sliding window is stream processing with an eviction policy.
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
title: 'Two Pointers'
|
||||
description: 'Converging/parallel index walk that prunes the O(n^2) pair space using order.'
|
||||
sidebar:
|
||||
icon: sticky-note
|
||||
---
|
||||
|
||||
:::warning[Under construction]
|
||||
This page is a scaffold. Notes, canonical problems, and template code are not written yet.
|
||||
:::
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
title: 'Sliding Window'
|
||||
description: 'Two pointers plus incremental state between them.'
|
||||
sidebar:
|
||||
icon: sticky-note
|
||||
---
|
||||
|
||||
:::warning[Under construction]
|
||||
This page is a scaffold. Notes, canonical problems, and template code are not written yet.
|
||||
:::
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
title: 'Prefix Sum'
|
||||
description: 'Precomputed cumulative state for O(1) range queries.'
|
||||
sidebar:
|
||||
icon: sticky-note
|
||||
---
|
||||
|
||||
:::warning[Under construction]
|
||||
This page is a scaffold. Notes, canonical problems, and template code are not written yet.
|
||||
:::
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
title: 'Common Patterns'
|
||||
description: 'Precomputed cumulative state for O(1) range queries.'
|
||||
sidebar:
|
||||
icon: star
|
||||
---
|
||||
|
||||
:::warning[Under construction]
|
||||
This page is a scaffold. Notes, canonical problems, and template code are not written yet.
|
||||
:::
|
||||
@@ -0,0 +1,5 @@
|
||||
import { defineMeta } from "blume";
|
||||
|
||||
export default defineMeta({
|
||||
order: 4,
|
||||
});
|
||||
Reference in new issue
Block a user