摘要:
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. Not 阅读全文
posted @ 2021-06-27 08:07
苗妙苗
阅读(102)
评论(0)
推荐(0)
摘要:
Given an integer n, return all the structurally unique BST's (binary search trees), which has exactly n nodes of unique values from 1 to n. Return the 阅读全文
posted @ 2021-06-27 06:46
苗妙苗
阅读(31)
评论(0)
推荐(0)