Anonymous

How To Convert A Tree Into A Binary Tree?

5

5 Answers

Anonymous Profile
Anonymous answered
Convert the tree to binary tree
Anonymous Profile
Anonymous answered
A general tree is an unordered hierarchical data structure with unlimited children nodes for each parent. A binary tree only has a maximum of two children nodes for each parent, commonly called left node and right node.

Converting from tree to binary tree would simply require that you start with the root node and start copying each node into the binary tree. The only rules would be that each node cannot have more than two children, including the root node.

You alo need to know a little about the target binary tree, such as should it be ordered? Should it be complete?
Anonymous Profile
Anonymous answered
Use the left child right sibling relation
James Anderson Profile
James Anderson answered
It is incorporated into other device,for example:music players, mobile phones,digital cameras,it is specialist It Hardware or networking,and any types of domestic control system.

Answer Question

Anonymous