Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ CatalanNumber.py
File
CatalanNumber.py
AwesomeAlgorithms/CatalanNumber.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# -*- coding:utf-8 -*-
2
''
&
#x27;
3
给出 n,问由 1...n 为节点组成的不同的二叉查找树有多少种?
4
本质上是求得一个卡特兰数列
Callers
nothing calls this directly
Calls
2
numTrees
Method · 0.80
Solution
Class · 0.70
Tested by
no test coverage detected