Question

Draw the binary tree for which the traversal sequences are given as follows:

(i) Pre order: ABDEFCGHIJK

In order: BEDFACIHKJG

(ii) Post order: IJHDKECLMGFBA

In order: I HJDCKEAFLGMB

28 May 2025
Answer :
Word Count : 560
(i) Given: Preorder: `A B D E F C G H I J K` Inorder: `B E D F A C I H K J G` To reconstruct the binary tree: Step 1: In preorder, the first element is the root → `A` Find `A` in inorder → Left subtree = `B E D F`, Right subtree = `C I H K J G` Step 2: Left subtree (inorder = `B E D F`) From preorder, next root = `B`, but `B` is first in inorder → must be leaf. Next in preorder: `D` → its inorder: `E D F`, root = `D`, left = `E`, right = `F` So Left Subtree: ``` B \ D / \ E F ``` Step 3: Right subtree (inorder = `C I H K J G`) Next root in preorder = `C`, find ___ ___ ____ _______ ________ ___.
________ _________ _____ ____ _________ ___.
_________ _________ __________ ______ _______ _______ ____ ___ _______ _________.
_______ _____ __________ ____ ________ _______ ___ _________ ____ _______ _________.
_______ ___ _____ _________ _______ __________ ___.
___ _____ ________ _________ _____ ___ _____ _______ __________ ___ __________ _______.
____ ____ ___ ______ ______ _______ _____ _________ ________ _____ _____.
___ _______ ______ ______ ______ _________.
______ _______ ___ ___ ____ __________ _______.
____ ______ _________ ________ ____ _____ ________ _________ ______ ________ _______ _______.
_____ __________ _______ ____ __________.
____ _____ _____ __________ _____.
________ _______ ____ ________ _________ ___.
_______ ____ _________ ____ _____ ___ ________.
_________ _______ ______ _________ ____.
________ ___ ___ _____ _____ __________ _______ _________ ________ ______ _____.
________ ______ _________ _________ _______ ____ ________.
_____ _____ ____ ______ ____ _____ _________ __________ ___.
________ _______ _________ ____ _______ ________ _______ ______.
___ __________ _____ ____ _______ ______ __________ ___ ___.
______ _____ _______ _____ ___.
__________ ______ __________ _______ ______ __________ _____.
_____ __________ __________ _________ ________ ___ _________ ___.
___ ______ ____ _____ ________ _______ ___.
_________ _________ ____ ______ __________ _______ __________ __________ ________ ____.
___ _____ ____ ___ ___ _____ _________ ______ ____ __________ ___ _______.
__________ _______ ______ ________ _________ ______ _____ _____ _________ _____.
____ ____ ___ _________ _______ _________ ___.
_____ _________ ___ __________ _______ ____ ______ ___ _________ _____ ________.
___ ____ _____ ___ _________ ___ ____ ___ ____ _______ ____.
____ __________ ______ ____ _______ __________ ___ _______ ___ __________.
______ _____ ______ _____ ________ ________.
__________ ___ _________ _____ _________ __________ _______ _____.
_____ _________ _____ _____ ________ _____ ______ ____ _________.
_______ _______ ___ ______ ___ _________ ___ _____.
_______ _____ _______ _________ __________ ___ _____ _____.
__________ _____ _________ _________ ______ _________.
______ _____ _____ _______ ______ ____ ________ _____.
_______ _____ _____ ______ ________ _______ _____ ______ _________ __________ __________ _________.
_____ ________ ______ _________ ____ __________ __________ ___ ______.
_______ __________ ______ __________ ________ __________ ______ ________ ___ ________.
________ _______ ____ ______ ___ ________ ________ _____.
_______ _______ ___ _________ ____.
___ __________ _______ ______ ______ ________ ______ __________.
_________ _____ __________ _________ ________ ______.
_________ _____ _____ ____ ___ ___ ___ ___ ________ ___ __________ __________.
_________ _______ ___ ________ _______ __________ _______ ____ ________ ___ _____ ______.
_______ __________ _______ _______ ____ ________ ________ ________ _________.
_________ __________ ___ ____ _______ _________ ___ _____.
___ ____ __________ ______ ______ ___ _______.
__________ _______ __________.
Get Full Answer on WhatsApp
IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Draw the binary tree for which the traversal sequences are given as fo
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→