| 4 | # 307.区域检索-数组可修改 |
| 5 | |
| 6 | class SegmentTreePreface(AlgoScene): |
| 7 | def __init__(self, **kwargs): |
| 8 | super().__init__(**kwargs) |
| 9 | |
| 10 | def construct(self): |
| 11 | group = self.start_logo(stay=True) |
| 12 | self.play(group.shift, UP) |
| 13 | text = Text("线段树").set_color("#333").scale(0.3) |
| 14 | self.add(text) |
| 15 | self.wait(100) |
| 16 | |
| 17 | class SegmentTreeDiffScene(AlgoScene): |
| 18 | def __init__(self, **kwargs): |
nothing calls this directly
no outgoing calls
no test coverage detected