Why not n-factorial ( different number of traversal for a BST)


  • 0
    B

    Simple Doubt: number of unique BST's means number of different inorder traversals. Means arranging n elements in n positions, i.e. n! (n factorial). Why is the answer incorrect? Anything I am missing?


  • 0
    J

    Please notice the property BST!


Log in to reply
 

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