(BST是锻炼递归代码的好题目)
1. Binary Search Trees
def. BST
A binary tree where each node has a key:
for every node, the key is larger than all nodes in left subtree, smaller than all nodes in right subtree.
Fields: key, val, left, right
Implementation
An inner class of BST nodes:
private class …
