Qualtrics interview question

Determine if a binary tree is a BST