in DS
1,034 views
1 vote
1 vote
1) How many ways we can traverse 1,2,3,4 in BST?

2) How many ways we can insert 1,2,3,4 in BST?

______________________________________________________________________

How both are different in calculation of BST?Why they are use different formula?
in DS
by
1.0k views

4 Comments

I mean formula used for calculation of no of bst should be same for calculation of no of traversal
0
0
did you comment for me or srestha mam ?

if it is for me, in my comments also i said that only, refer my comments

if it is for srestha mam, leave it
0
0

@Kaluti

no of bst should be same for calculation of no of traversal

what is meaning of it? 

0
0

1 Answer

0 votes
0 votes
I didn't understand, for inserting we can insert in 1/(n+1)*2nCn ways and for traversing these it will be the same right? @Masthan ?Please correct me if I'm wrong.

Related questions