mirror of
https://github.com/prdlk/leetcode.git
synced 2026-11-02 13:12:44 +00:00
18 lines
695 B
Plaintext
18 lines
695 B
Plaintext
---
|
|||
|
|
title: 'Auxiliary Ordering Structures'
|
||
|
|
description: 'You do not traverse them; you maintain them while traversing something else.'
|
||
|
|
sidebar:
|
||
|
|
order: 1
|
||
|
|
label: Introduction
|
||
|
|
---
|
||
|
|
|
||
|
|
:::warning[Under construction]
|
||
|
|
This page is a scaffold. Notes, canonical problems, and template code are not written yet.
|
||
|
|
:::
|
||
|
|
|
||
|
|
## Patterns
|
||
|
|
|
||
|
|
- [Stack](/guides/coding/auxiliary-ordering/stack) — LIFO memory of unresolved items; monotonic stack discards dominated candidates.
|
||
|
|
- [Heap](/guides/coding/auxiliary-ordering/heap) — Partial order: cheap access to the extremum without a full sort.
|
||
|
|
|
||
|
|
**Systems anchor:** Monotonic stack is log compaction; heap is priority scheduling, Dijkstra's frontier, timer wheels.
|