Tuesday, April 12, 2011

Write code to check whether given tree is BST or not

Write code to check whether given tree is BST or not. Time O(n) and space O(1)

No comments: