← Amazon questions
CodingReported in a candidate post, Oct 2021

Validate Binary Search Tree

Filed under Amazon · Also reported at Arcesium, Brocade Communications, CouponDunia, Microsoft, PayPal, Sprinklr, Synopsys, Times Internet and 1 more

Given the root of a binary tree, determine if it is a valid Binary Search Tree (BST). A valid BST requires that for every node, all nodes in its left subtree have values less than the node's value…

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

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