Unique Binary Search Trees - Coddicted

Unique Binary Search Trees

Title: Unique Binary Search Trees Source: leetcode.com

Given n, how many structurally unique BST’s (binary search trees) that store values 1…n?

For example,
Given n = 3, there are a total of 5 unique BST’s.

Java solution


Back To Top
Rate this post

Leave a Reply