Segment trees and ordered sets: range queries that keep up with updates
Here is a row of numbers. Eight of them. Somebody asks for the total between position two and position five. Then somebody changes position four. Then they ask again. Two…
Included with a plan
This video is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.
Or start free: a free account opens lessons 2 and 3 of every track.
Chapters
Segment trees and ordered sets: range queries that keep up with updates. Here is a row of numbers. Eight of them. Somebody asks for the total between position two and position five. Then somebody changes position four. Then they ask again. Two operation
See also
Saved in this browser, and to your account when you sign in.