Friday, January 29, 2010

BST - Index

Common Operations on BST

Traversals are covered seperately below.

Traversal in BST:

Inorder, pre order and post order traversal(recursive approach)
Inorder, pre order and post order traversal(iterative approach)
Level order traversal
Threaded binary tree
DFS and BFS on tree
Given the expression tree, calculate the expression
Construct a tree, given its inorder and pre-order

Successors and ancestors

Inorder Successor in BST
Find the closest ancestors of 2 nodes in a tree

Some easy questions on BST

0 comments:

Post a Comment