CS61A disc07 树、链表
左子树的所有节点的值都小于等于父节点的值, 右子树的所有节点的值都大于父节点的值。 Solution 1 Solution 2 Hint写得很清楚,摘抄一下。 Hint: Approach Place the division pattern from the example above in a while statement: While constructing the decimal expansion, store the tail for each n in a dictionary keyed by…