摘要: 从一道动态规划到卡特兰数 LeetCode 96 题目链接:https://leetcode cn.com/problems/unique binary search trees/ 题意:给定一个整数 n,求以 1 ... n 为节点组成的二叉搜索树有多少种? n = 3 时: 动态规划 思路:从 阅读全文
posted @ 2019-12-03 11:03 stul 阅读(308) 评论(0) 推荐(0) 编辑