all BST created from series 1 to n are uniquely structured. For for this question,term 'unique BST structure' is redundant.


  • 0
    A

    f(n) = f(0)f(n-1) + f(1)f(n-2) + .......... + f(n-1)f(0)

    formula to calculate number of BST from series 1,2,3...n


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.