MCPcopy Create free account
hub / github.com/acm-clan/algorithm-stone / SegmentTreePreface

Class SegmentTreePreface

animations/segmenttree.py:6–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4# 307.区域检索-数组可修改
5
6class 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
17class SegmentTreeDiffScene(AlgoScene):
18 def __init__(self, **kwargs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected