img
Question:
Published on: 27 July, 2024

What is binary tree? Construct a binary tree using the inorder and postorder traversal of the node given below :

Inorder : D B F E A G C L J H K

Postorder : D F E B G L J K H C A

Answer:

A binary tree consists of a finite set of element that can be partitioned into three distinct subset called root, the left and right sub tree. If there are no elements in the binary tree it is called an empty binary tree.

 

binary tree create

Random questions