general treesand conversionto binary trees(treesand general conversionto trees binary).docVIP

  • 3
  • 0
  • 约 8页
  • 2017-01-19 发布于湖南
  • 举报

general treesand conversionto binary trees(treesand general conversionto trees binary).doc

General Trees and Conversion to Binary Trees General trees are those in which the number of subtrees for any node is not required to be 0, 1, or 2. The tree may be highly structured and therefore have 3 subtrees per node in which case it is called a ternary tree. However, it is often the case that the number of subtrees for any node may be variable. Some nodes may have 1 or no subtrees, others may have 3, some 4, or any other combination. The ternary tree is just a special case of a general tree (as is true of the binary tree). General trees can be represented as ADTs in whatever form

文档评论(0)

1亿VIP精品文档

相关文档