algo4: dp: Unique binary search tree