Unique BST DP solution