摘要: 1 class Solution { 2 public int numTrees(int n) { 3 int[] total = new int[n + 1]; 4 total[0] = 1; 5 total[1] = 1; 6 for (int i = 2; i <= n; ++i) { 7 f 阅读全文
posted @ 2020-07-15 22:31 小小码农-安 阅读(215) 评论(0) 推荐(0)