A full binary tree is a binary tree where each node has exactly 0 or 2 children.
Given an int n, return a list of all possible full binary trees with n leaf nodes. Each element of the answer is the root node of one possible tree.
Example:
Input: n = 4
Output:
Related problems: