无序二叉树的用例是什么?
What is a use case for an unordered Binary Tree?
有人使用无序二叉树吗?
我看不出在数组上使用无序二叉树有任何优势。
Generating Unordered Binary Trees is necessary in both the graph theory and in different applications. For example, a list of all trees with a given number of internal nodes can be used in computer science to test or analyze an algorithm for its correctness or computational complexity.
用最多两个参数的运算符表示一个简单的表达式语言。
+
/ \
3 *
/ \
4 5
有人使用无序二叉树吗?
我看不出在数组上使用无序二叉树有任何优势。
Generating Unordered Binary Trees is necessary in both the graph theory and in different applications. For example, a list of all trees with a given number of internal nodes can be used in computer science to test or analyze an algorithm for its correctness or computational complexity.
用最多两个参数的运算符表示一个简单的表达式语言。
+
/ \
3 *
/ \
4 5