Given the number of nodes, to find the total BST's