Segment Trees

Synopsis

We introduce the segment tree, a data structure that makes queries over ranges in O(logn) time.

Videos

In-class Problems