Write a method isBST() that takes a Node as argument and returns true if the argument node
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a method isBST() that takes a Node as argument and returns true if the argument node is the root of a BST, false otherwise. Please write pseudocode, explain, and state running time.
Related Book For
Introduction to Algorithms
ISBN: 978-0262033848
3rd edition
Authors: Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest
Posted Date: