Advanced Trees Checkpoint

Segment trees, sparse tables, and interval trees.


1. Segment tree range queries and point updates run in:
2. Sparse tables give O(1) queries for operations that are:
3. For a query length L, sparse table uses k = floor(log2(L)).
4. Interval trees prune search using the subtree's: