摘要:
119. 杨辉三角 II class Solution { public: vector<int> getRow(int rowIndex) { vector<vector<int>> dp(rowIndex+10); if(rowIndex==0) { dp[0].push_back(1); re 阅读全文
posted @ 2020-06-22 12:35
branna
阅读(123)
评论(0)
推荐(0)
摘要:
118. 杨辉三角 二维数组 class Solution { public: vector<vector<int>> generate(int numRows) { vector<vector<int>>a; if(numRows==0) { return a; } if(numRows==1) 阅读全文
posted @ 2020-06-22 12:19
branna
阅读(274)
评论(0)
推荐(0)

浙公网安备 33010602011771号