solution: unique binary search trees II 1 -> dfs