Description
https://leetcode.com/problems/unique-binary-search-trees-ii/description/
Code
Inspired by Unique Binary Search Trees, we use the divide and conquer strategy to solve the count of the different binary tree. In this quesiton, we can also apply this to the generation of trees.
1 | /** |