Practice
Learn
← Quit
0 / 0 correct
Algorithms
Hard
1 of 40
How can you check if a binary tree is a valid BST?
A
Check that it's balanced
B
Check that leaves are sorted
C
Recurse with (low, high) bounds, or check that an in-order traversal is strictly increasing
D
Check each node only against its children