Bloomberg Interview Question

Verify whether a binary tree is a BST or not.