Unique Binary Search Trees at Snapchat

Medium63.3% acceptance

This problem has 87.5% frequency at Snapchat.

Problem Description

Given an integer `n`, return _the number of structurally unique**BST '**s (binary search trees) which has exactly _`n` _nodes of unique values from_ `1` _to_ `n`.

Read full problem and hints

Topics

Also asked at 10 companies


More Snapchat Questions

View all Snapchat questions