MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __str__

Method __str__

data_structures/binary_tree/lazy_segment_tree.py:121–122  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

119 return max(q1, q2)
120
121 def __str__(self) -> str:
122 return str([self.query(1, 1, self.size, i, i) for i in range(1, self.size + 1)])
123
124
125if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

queryMethod · 0.95

Tested by

no test coverage detected