← Bloomberg questions

Validate a binary search tree

Filed under Bloomberg · Also reported at PropTiger

Given the root of a binary tree, determine whether it is a valid binary search tree: for every node, all values in its left subtree are strictly less than the node and all values in its right subtree…

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

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