Computer Science, asked by RoshanDhekan3093, 1 year ago

Explain the process of converting a tree into a binary tree.

Answers

Answered by indiabrainly
2

Answer:

Explanation:

A tree is a hierarchical data structure that has unlimited children nodes. A binary tree just has two children nodes for a parent. It is known as the right node and the left node.

For converting a tree to binary tree, simply start with the root node and copy each node to the binary tree. The only thing to notice is that a node cannot have more than two children, along with the root node. In this way, a tree can be converted to a binary tree.

Similar questions