Question:

Published on: 6 June, 2023

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.

Subjects

Trending

Write a C language function to find the in-order successor of the root of a binary tree.

View : 249

21 January, 2022

What is the benefit of using arrays of pointers instead of several pointer variables?

View : 406

23 January, 2022

Random questions

6 June, 2023

Find the time complexity of Binary Search Algorithm.

6 June, 2023

**Explain the LOC, Function point and Feature point? **

6 June, 2023

**Briefly discuss about Critical Path Method (CPM)**

6 June, 2023