Skip to content

Segment Trees

Lecture date: Monday, September 16, 2019

Synopsis

We introduce the segment tree, a data structure that makes queries over ranges in ${\cal O}(\log n)$ time.

  • Competitive Programming 3, Section 2.4.3

Problem

Videos