Amazon Interview Question

Justify whether a binary tree is a BST.

Interview Answer

Anonymous

Oct 9, 2010

perform inorder on the tree..if it results into a sorted sequence..the tree was a BST!

4