Diagram
What is Binary Tree ? Draw the Tree diagram for the expression.
B = (3R -5T)2 - (R + Q3)
Advertisement Remove all ads
Solution
Binary tree is a finite set of elements called nodes such that is :
1). It may be empty or
2). It is partitioned into three disjoint subsets :
(a) there is a single distinguished element called the root of tree. (b) other two subsets are themselves binary tree called left subtree and right subtree of the original tree.
B = (3R -5T)2 - (R + Q3)
Concept: Basic Data Structures (Stack, Queue, Dequeue)
Is there an error in this question or solution?
Advertisement Remove all ads
APPEARS IN
Advertisement Remove all ads
Advertisement Remove all ads