Cp-algorithms.com

Segment Tree - Algorithms for Competitive Programming

Segment Tree - Algorithms for Competitive Programming

A Segment Tree is a data structure that stores information about array intervals as a tree. This allows answering range queries over an array efficiently, while still being flexible enough to allow quick modification of the array.

Tên miền: cp-algorithms.com Đọc thêm