CodeMosa
Master LeetCode Patterns
All Patterns
Collections
Sign In
Back
Range Queries
Question 1 of 12
8% Complete
Medium
Segment tree supports which operations efficiently?
A
Range query and point/range updates in O(log n)
B
Only point queries
C
Only range sums in O(1)
D
Graph shortest paths