Choose the supported range or endpoint contract for each structure. Check each answer against its runnable trace and the direct model described in the audit project.
Lessons
- Persistent range MEX: search last occurrences in prefix versions
- Range XOR bases: merge linear spans in a segment tree
- Affine lazy segment trees: compose range calibration before summing
- Min-max heaps: remove either end of one dispatch priority array
