AlgoMaster Logo

Largest BST Subtree

tree=[10, 5, 15, 1, 8, null, 7]
0 / 22
algomaster.io
Step:Start: check every node as the root of a possible BST