SegTrees

Segment tree

Segment trees are tree data structures used to store information about intervals and query which of the stored segments contain a given point. They use O(n log n) storage and can be built in O(n log n) time, with queries taking O(log n + k). They have applications in computational geometry, geographic information systems and machine learning, and can be generalized to higher dimension spaces.

1 courses cover this concept

15-451/651 Algorithms

Carnegie Mellon University

Spring 2022

This course explores the design and analysis of algorithms, algorithmic modelling techniques, and their efficiency. It aims to provide tools for designing and analyzing personal algorithms, using various analytical tools and frameworks. Some advanced topics not commonly covered in textbooks are also taught.

No concepts data

+ 37 more concepts