This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Adapting segment trees for different aggregate functions: sum, min, max, GCD, and handling non-commutative operations.
You've completed the free preview. Subscribe to unlock every lesson in every course.