Deck · IOI — Competitive Programming

Trees & Range Data Structures

Advanced tree-based and range query data structures from the IOI syllabus: BSTs and balanced BSTs, Fenwick trees, segment trees (lazy, iterative), sparse tables, disjoint set union, treaps, heavy-light decomposition, Euler tours, LCA via binary lifting, Mo's algorithm, and sqrt decomposition. Emphasis on time/space complexity and when to use each.

82 cards · audited · SM-2 spaced repetition

or go All-Access →

Included with the full IOI — Competitive Programming program — 14 decks, 964 cards.

Sample cards

+76more cardsSee all 82

Unlock the program to study all 82 cards with spaced repetition.

More in IOI — Competitive Programming

Master trees & range data structures — and the rest of IOI — Competitive Programming.

One program. 964 audited cards across 14 decks.

or go All-Access →

See the full program →