00:01
In the part a of this problem, we will first arrange the words in the alphabetic order.
00:08
So we are doing this so that we can easily form the tree.
00:12
So after arranging in the alphabetic order, we have before climbed, climbing, learned, mountains, to and finally the last word in the alphabetic order is trees.
00:28
So now we will just design the search tree.
00:31
So this is our search tree.
00:33
So the last word in the alphabetic series is trees.
00:38
So we'll put trees separately.
00:44
We'll round off.
00:45
Now the word just before trees is to.
00:52
This is going like this.
00:58
So now the word just before tree to is climbed.
01:10
We will mark it as this.
01:12
This is the chart.
01:16
So next before climbed is before.
01:24
Then there is learned...