Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How will inorder, preorder and postorder traversals print
the elements of a tree?

Answer Posted / meenakshi

INORDER:: LNR
PREORDER:: NLR
POSTORDER::LRN
here L stands for the leftnode of the tree R stands for the
right node of the tree and N stands for the root node of
that tree.

Is This Answer Correct ?    10 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a bubble sort and how do you perform it?

1014


What do you mean by balance factor of a node in avl tree?

926


What is structure of data type?

898


Given an unsorted linked list, and without using a temporary buffer, write a method that will delete any duplicates from the linked list?

1023


Why do we need linked list?

834


What does a bubble chart show?

908


Why it is said that searching a node in a binary search tree is efficient than that of a simple binary tree?

984


What is height balanced tree?

938


What are red-black trees?

1005


What is the use of heap sort?

832


Which searching algorithm is best?

896


What is numeric array?

853


What is the difference between file structure and storage structure?

1019


Write a Program for Insert in a sorted list

922


Is quicksort faster than merge sort?

892