摘要: class BinarySearchTree: def __init__(self, value): self.value = value self.left_child = None self.right_child = None def insert_node(self, value): if 阅读全文
posted @ 2021-01-29 15:15 KbMan 阅读(36) 评论(0) 推荐(0) 编辑
摘要: from queue import Queue class BinaryTree: def __init__(self, value): self.value = value self.left_child = None self.right_child = None def insert_left 阅读全文
posted @ 2021-01-29 14:40 KbMan 阅读(41) 评论(0) 推荐(0) 编辑