
Segment trees for minimum and sum queries
Use one segment-tree design for sums, minima and ordered concatenation by requiring an associative combine operation and the right neutral element.
Foundation
The journal / Ideas in progress
Engineering & everyday learningSoftware, systems, and the things I’m learning along the way. From first principles to AI in production.
Find something to readA little theory. A lot of practice.