mirror of
https://github.com/prdlk/leetcode.git
synced 2026-11-03 13:27:36 +00:00
docs(docs): add strategy, coding, and system design documentation hierarchy
This commit is contained in:
1 parent
87581c4f4b
commit
91c45ea5de
70 files changed
+1343
-31
No files matched your search
@@ -0,0 +1,21 @@
|
||||
---
|
||||
title: 'Contiguous Linear'
|
||||
description: 'O(1) index access, order is information.'
|
||||
sidebar:
|
||||
order: 1
|
||||
label: Introduction
|
||||
---
|
||||
|
||||
:::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.
|
||||
Reference in new issue
Block a user