MCPcopy 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'''
3给出 n,问由 1...n 为节点组成的不同的二叉查找树有多少种?
4本质上是求得一个卡特兰数列

Callers

nothing calls this directly

Calls 2

numTreesMethod · 0.80
SolutionClass · 0.70

Tested by

no test coverage detected