add: 不同的二叉搜索树

This commit is contained in:
2020-07-15 12:23:07 +08:00
parent 2e60e7aa98
commit 20f821a921
4 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,5 @@
import { numTrees } from '../../src/tree/unique-binary-search-trees'
test('不同的二叉搜索树', () => {
expect(numTrees(3)).toBe(5)
})