← MakeMyTrip questions
CodingReported in a candidate post, Aug 2021

Check if a binary tree is a Binary Search Tree (isBST)

Filed under MakeMyTrip

Implement a boolean function `isBST(root)` to check if a given binary tree is a valid Binary Search Tree (BST). A BST is defined such that the left subtree of a node contains only nodes with keys less…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related MakeMyTrip questions

Collected from public candidate posts and coding forums. Updated Nov 2026.