Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Checking if BST (http://www.go4expert.com/forums/checking-if-bst-t5317/)

kens 17Jul2007 22:16

Checking if BST
 
WAP to check if a given tree is a BST.

shabbir 18Jul2007 09:15

Re: Checking if BST
 
If
  • The left subtree of a node contains only values less than the node's value.
  • The right subtree of a node contains only values greater than or equal to the node's value.


All times are GMT +5.5. The time now is 19:17.