- Given a binary tree, find the largest subtree which is a Binary Search Tree (BST), where largest means subtree with largest number of nodes in it.
Refer : http://www.leetcode.com/2010/11/largest-binary-search-tree-bst-in.html
- Given a binary tree, find the largest Binary Search Tree (BST), where largest means BST with largest number of nodes in it. The largest BST may or may not include all of its descendants.
Refer : http://www.leetcode.com/2010/11/largest-binary-search-tree-bst-in_22.html
No comments:
Post a Comment