摘要: 这道题属于Easy题,要求到目标行数,只需要一直递归上一行的内容即可。 public List<Integer> getRow(int rowIndex) { List<Integer> res=new LinkedList<>(); if(rowIndex==0) { res.add(1); re 阅读全文
posted @ 2021-10-19 20:03 毅毅毅毅毅 阅读(34) 评论(0) 推荐(0)