How to know if a binary tree is ordered scheme
问题 A binary tree is ordered if all its children are under the left branch that the data of the root and branch of the right age and, in turn, binary trees of the left and right branches are also sorted. Write the procedure (ordered-btree? btree) receiving a binary tree as argument and returns True if ordered and false if not. How can I do this? 回答1: There are several ways to solve this problem. I'll assume that there are no repeated elements in the tree and that you have written helper