Friday, April 3, 2015

Impressions of Binary Trees #Week 8

In week 7, we were introduced Binary Trees. Binary Trees structure is very popular and is being used wisely. 
It is easy to see that this is a recursion. Therefore, understanding well is significant for understanding Binary Tree.

There are three orders for traversing a Binary Tree.
1. Inorder: left child, root, right child
2. Preorder: root, left child, right child
3. Postorder: left child, right child, node




No comments:

Post a Comment