remove commented lines

This commit is contained in:
Awfifcuihc 2018-11-21 12:46:32 +08:00 committed by GitHub
parent 9f96c155be
commit d1dba51326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -217,64 +217,8 @@ class AVLtree:
print("****")
self.getheight()
if __name__ == "__main__":
# t = AVLtree()
# t.test()
# q = my_queue()
## q.push(1)
## q.push(2)
# for i in range(10):
# q.push(i)
# q.print()
# q.push(90)
# q.print()
#
# q.pop()
# q.print()
t = AVLtree()
t.traversale()
# t.insert(7)
## t.traversale()
#
# t.insert(8)
# t.traversale()
# t.insert(3)
# t.traversale()
# t.insert(6)
# t.traversale()
# t.insert(1)
# t.traversale()
# t.insert(10)
# t.traversale()
# t.insert(14)
# t.traversale()
# t.insert(13)
# t.traversale()
## t.traversale()
# t.insert(4)
# t.traversale()
# t.insert(7)
# t.traversale()
#
#
# t.del_node(8)
# t.traversale()
# t.del_node(3)
# t.traversale()
# t.del_node(6)
# t.traversale()
# t.del_node(1)
# t.traversale()
# t.del_node(10)
# t.traversale()
# t.del_node(14)
# t.traversale()
# t.del_node(13)
# t.traversale()
## t.traversale()
# t.del_node(4)
# t.traversale()
# t.del_node(7)
# t.traversale()
l = list(range(10))
random.shuffle(l)
for i in l: