[抄题]: 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. Note:A subtree must include all of its descendants. Example: Input: [10,5,15,1,8,null,7] 10 / \ 1…