Given an integer n, return the number of structurally unique Binary Search Trees (BSTs) that can be formed using numbers from 1 to n.
Click Run to execute sample tests.