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

Method show_data

data_structures/binary_tree/segment_tree.py:99–103  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

97 return max(q1, q2)
98
99 def show_data(self):
100 show_list = []
101 for i in range(1, self.N + 1):
102 show_list += [self.query(i, i)]
103 print(show_list)
104
105
106if __name__ == "__main__":

Callers 1

segment_tree.pyFile · 0.80

Calls 1

queryMethod · 0.95

Tested by

no test coverage detected