摘要:
#!/usr/bin/env python3.3# -*- coding:utf-8 -*-# Copyright 2013'''对任何节点X1)其左子树中的关键字最大不大于key[X]2)其右子树中的关键字最小不小于key[X]'''class Node: def __init__(self, key): self.key = key self.left = None self.right = None self.parent = None def __str__(self): return str(self.... 阅读全文