← Microsoft questions

Check if Binary Tree is BST

Filed under Microsoft · Also reported at Citrix, Juspay, Keysight Technologies, Knowlarity, NCR Corporation, OYO, Qualcomm, Saavn and 7 more

Given a binary tree, determine if it is a valid Binary Search Tree (BST). A BST is defined as: the left subtree contains only nodes with keys less than the node's key, and the right subtree contains…

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 Microsoft questions

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