Expedia Group interview question

Find if a given binary tree is a binary search tree