Str*_*rry 4 string binary-tree lexicographic
我正在看我的书,但它没有解释.它告诉我什么是二叉搜索树,它决定使用字符串.
Jared
/ \
Brittany Megan
/ \ / \
Brett Doug Jim Whitney
Run Code Online (Sandbox Code Playgroud)
因此,据推测,节点大于其左子树,小于其右子树.贾里德怎么比布列塔尼更大?
在字典中,"贾里德"这个词将出现在"布列塔尼"之后.
http://en.wikipedia.org/wiki/Lexicographical_order