English

What is Binary Tree ? Draw the Tree Diagram for the Expression. - Computer Science 1

Advertisements
Advertisements

Question

What is Binary Tree ? Draw the Tree diagram for the expression. 
B = (3R -5T)2 - (R + Q3)

Diagram
Advertisements

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)

shaalaa.com
Basic Data Structures (Stack, Queue, Dequeue)
  Is there an error in this question or solution?
2018-2019 (March) Set 1

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×