Check if binary tree is Binary Search Tree (BST) or not?

-*+Problem is given a binary tree, find if tree is binary search tree or not? As per definition of binary search tree, a binary tree is called as binary search tree if for each node, all nodes on left are smaller and on right are greater than current node. For example, binary tree given below … Continue reading Check if binary tree is Binary Search Tree (BST) or not?

6 Comments

Copy and paste this URL into your WordPress site to embed

Copy and paste this code into your site to embed