understood unique binary search tree problems