Skip to content

Commit

Permalink
Add description for java 95
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinfish committed May 28, 2017
1 parent 40d9756 commit 360bec9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions java/_095UniqueBinarySearchTreesII.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
import java.util.List;

/**
* Given an integer n, generate all structurally unique BST's (binary search trees) that store values 1...n.
* <p>
* For example,
* Given n = 3, your program should return all 5 unique BST's shown below.
* <p>
* 1 3 3 2 1
* \ / / / \ \
* 3 2 1 1 3 2
* / / \ \
* 2 1 2 3
* <p>
* Created by drfish on 27/05/2017.
*/
public class _095UniqueBinarySearchTreesII {
Expand Down

0 comments on commit 360bec9

Please sign in to comment.