96. Unique Binary Search Trees
2019-07-29
96. Unique Binary Search Trees
Given _n_, how many structurally unique BST’s (binary search trees) that store values 1 … _n_?
Example:
1 | Input: 3 |
Code:
1 | class Solution: |
2019-07-29
Given _n_, how many structurally unique BST’s (binary search trees) that store values 1 … _n_?
Example:
1 | Input: 3 |
1 | class Solution: |