When we perform in order traversal on a binary tree, we get the ascending order array. The tree is:
When we perform in order traversal on a binary tree, we get the ascending order array. The tree is: Correct Answer Binary search tree
Opttion 3: correct:
When we perform in order traversal on a binary tree, we get the ascending order array. The tree is binary search tree
Random binary search tree
[ alt="5faad4d3b638c5df89d4ecdb 26 Nov 2020 Shashi D1" src="//storage.googleapis.com/tb-img/production/20/11/5faad4d3b638c5df89d4ecdb_26_Nov_2020_Shashi_D1.PNG" style="width: 136px; height: 172px;">
Post-order traversal is 23, 18, 27, 25, 10, 60, 80, 70, 30.
In-order traversal traversal is 10, 18, 23, 25, 27, 30, 60, 70, 80
Preorder traversal is 30, 10, 25, 18, 23, 27, 70, 60 ,80
In order traversal, of the binary search tree is in ascending order.
মোঃ আরিফুল ইসলাম
Feb 20, 2025