Amazon interview question

Justify whether a binary tree is a BST.

Interview Answer

Anonymous

9 Oct 2010

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

4