Solved "Unique Binary Search Trees II"