From d1dba51326abc2b1cf8d621b0fd85c84611f4d28 Mon Sep 17 00:00:00 2001 From: Awfifcuihc <21129044@zju.edu.cn> Date: Wed, 21 Nov 2018 12:46:32 +0800 Subject: [PATCH] remove commented lines --- data_structures/binary tree/AVLtree.py | 56 -------------------------- 1 file changed, 56 deletions(-) diff --git a/data_structures/binary tree/AVLtree.py b/data_structures/binary tree/AVLtree.py index c0b37ab08..467017656 100644 --- a/data_structures/binary tree/AVLtree.py +++ b/data_structures/binary tree/AVLtree.py @@ -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: