Computer Science, asked by shruthisantoshmenon, 5 months ago

draw a tree diagram of binary tree e= (a+b)²/[(c*d) - e]³

Answers

Answered by devip649
5

We have discussed Introduction to Binary Tree in set 1 and Properties of Binary Tree in Set 2. In this post, common types of Binary Trees are discussed.

The following are common types of Binary Trees.

Full Binary Tree A Binary Tree is a full binary tree if every node has 0 or 2 children. The following are the examples of a full binary tree. We can also say a full binary tree is a binary tree in which all nodes except leaf nodes have two children.

18

/ \

15 30

/ \ / \

40 50 100 40

18

/ \

15 20

/ \

40 50

/ \

30 50

18

/ \

40 30

/ \

100 40

In a Full Binary Tree, number of leaf nodes is the number of internal nodes plus 1

L = I + 1

Where L = Number of leaf nodes, I = Number of internal nodes

See Handshaking Lemma and Tree for proof.

Answered by PAKIZAALI
3

Explanation:

In computer science, a binary tree is a tree data structure in which each node has at most two children, which are referred to as the left child and the right child. ... It is also possible to interpret a binary tree as an undirected, rather than a directed graph, in which case a binary tree is an ordered, rooted tree.

Attachments:
Similar questions