Skip to content

Commit 360bec9

Browse files
committed
Add description for java 95
1 parent 40d9756 commit 360bec9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

java/_095UniqueBinarySearchTreesII.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
import java.util.List;
33

44
/**
5+
* Given an integer n, generate all structurally unique BST's (binary search trees) that store values 1...n.
6+
* <p>
7+
* For example,
8+
* Given n = 3, your program should return all 5 unique BST's shown below.
9+
* <p>
10+
* 1 3 3 2 1
11+
* \ / / / \ \
12+
* 3 2 1 1 3 2
13+
* / / \ \
14+
* 2 1 2 3
15+
* <p>
516
* Created by drfish on 27/05/2017.
617
*/
718
public class _095UniqueBinarySearchTreesII {

0 commit comments

Comments
 (0)