Day 31
Day 31
Unique Binary Search Trees
The number of left subtrees is j - 1
and the number of right subtrees is i - j
.
1 | class Solution { |
1 | func numTrees(n int) int { |
The number of left subtrees is j - 1
and the number of right subtrees is i - j
.
1 | class Solution { |
1 | func numTrees(n int) int { |