auto commit
This commit is contained in:
@ -77,7 +77,7 @@ The above output corresponds to the 5 unique BST's shown below:
|
||||
|
||||
```java
|
||||
public List<TreeNode> generateTrees(int n) {
|
||||
if(n < 1){
|
||||
if (n < 1) {
|
||||
return new LinkedList<TreeNode>();
|
||||
}
|
||||
return generateSubtrees(1, n);
|
||||
|
Reference in New Issue
Block a user