Frage im Vorstellungsgespräch bei Google

Implement a function to check if a binary tree is a binary search tree (BST).