Tap here to switch tabs
Problem
Submissions

Problem: Unique Binary Search Trees

med
30 min
Try to solve the Unique Binary Search Trees problem.

Statement

Given an integer n, return the total number of structurally unique binary search trees that can be constructed with exactly n nodes, storing unique values from 11 to n.

Constraints:

  • 1≤1 \leq n ≤19\leq 19

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Unique Binary Search Trees

med
30 min
Try to solve the Unique Binary Search Trees problem.

Statement

Given an integer n, return the total number of structurally unique binary search trees that can be constructed with exactly n nodes, storing unique values from 11 to n.

Constraints:

  • 1≤1 \leq n ≤19\leq 19