UNIQUE-BINARY-SEARCH-TREE-II

recurrence solution