Problem-94

Problem-94

Determine the order in which an inorder traversal visits the vertices of the given ordered rooted tree.

inorder traversal

 

Enter the vertices in the form of a list, separated by commas.

 

Solution

d,b,i,e,m,j,n,o,a,f,c,g,k,h,p,l

 

Leave a Reply

Your email address will not be published. Required fields are marked *