(self,arr)
| 1 | class SegmentTree: # Every node has an index and a segment range |
| 2 | def __init__(self,arr): |
| 3 | self.arr=arr |
| 4 | self.seg=[0]*(4*len(arr)) |
| 5 | |
| 6 | def build(self,ind,low,high): # [low,high] = segment range |
| 7 | if low==high: |
nothing calls this directly
no outgoing calls
no test coverage detected