Skip to content

Latest commit

 

History

History

307-RangeSumQuery

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Range Sum Query

Problem can be found in here!

Solution: Segment Tree

Time Complexity: O(logn) for an update or a sumRange operation, Space Complexity: O(n)