Skip to content

Data Structures -> ODT / Chtholly

Ordered-set interval partition for piecewise-constant arrays where range assign keeps collapsing runs and range walks are acceptable.

  • Topic slug: data-structures/odt-chtholly
  • Tutorial page: Open tutorial
  • Ladder page: Open ladder
  • Repo problems currently tagged here: 1
  • Repo companion pages: 4
  • Curated external problems: 2

Microtopics

  • split
  • interval-partition
  • range-assign
  • piecewise-constant
  • kth-over-runs
  • expected-complexity

Learning Sources

Source Type
OI Wiki ODT Reference
Codeforces Round #449 Editorial Reference
CF896C Willem, Chtholly and Seniorious Practice

Practice Sources

Source Type
CF915E Physical Education Lessons Practice

Repo Companion Material

Material Type
ODT / Chtholly hot sheet quick reference
Willem, Chtholly and Seniorious flagship note
Lazy Segment Tree tutorial compare point
Template Library exact starter route starter route

Curated External Problems

Core

Problem Source Difficulty Context Style Prerequisites Tags Why it fits
896C - Willem, Chtholly and Seniorious Codeforces Hard Interval-Partition Data-Structure-Heavy; Implementation; Randomized-Input Ordered Set Iteration; Split(l) / Split(r + 1); Range Assign Range Assign; Ordered Set; Expected Complexity; Kth Query The canonical Chtholly-tree benchmark where split, assign, and interval walks over the current runs are the whole model.

Bridge

Problem Source Difficulty Context Style Prerequisites Tags Why it fits
915E - Physical Education Lessons Codeforces Hard Interval-Partition Data-Structure-Heavy; Query-Heavy Ordered Set Iteration; Range Assign; Current Interval Partition Range Assign; Piecewise Constant; Interval Counting A clean deterministic bridge where interval assign and counting over the current partition are the real invariants even without the full CF896C random-data flavor.

Repo Problems

Code Title Fit Difficulty Pattern Note Solution
WILLEMCHTHOLLYANDSENIORIOUS Willem, Chtholly and Seniorious primary hard - Note Code

Regeneration

python3 scripts/generate_problem_catalog.py