Skip to content

azurespace/segment-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

segment-tree

Segment tree is a data structure storing intervals. You can update the value of certain position and get the representative value of an interval [begin, end) in O(n lg n) time complexity. The representative value can be the sum, the maximum, or the minimum of the values in each interval.

For detail, see following:

Algorithmist wiki Topcoder's tutorial

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages