Need Help C Program Https Bitly 2isnqkr Q37158754

Need help in C program

https://bit.ly/2ISNqkr


Answer


(a)

in inorder traversal first we visit left node then root and atlast right node

In-order traversing= 5 2 3 1 4 8 9 6

in preorder traversal first we visit root node then left nodeand at last right node

Pre-order traversing=8 2 5 1 3 4 6 9

in postorder traversal first we visit left node then right nodeand at last root node

Post-order traversing=5 3 4 1 2 9 6 8

(b)

Date y tree hind the 1n deletion metheed sf hinaa oghd as allaiode of taee neplace the tontenct ofa nodeto be deleted with sh

Date

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.