问题
Does anyone use unordered Binary Trees?
I don't see any advantage to using an unordered Binary Tree over an array.
回答1:
To represent a simple expression language with operators of at most two arguments.
+
/ \
3 *
/ \
4 5
回答2:
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.
Source
来源:https://stackoverflow.com/questions/49598967/what-is-a-use-case-for-an-unordered-binary-tree