サンダーボルト

相手モンスターを全て破壊する。

2019-04-10から1日間の記事一覧

LeetCode Study : 118. Pascal's Triangle

問題 Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. Example: Input: 5 Output: [ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1] ] https://leetcode.com/problems/pascals-triangle/ 自分の解答 public List<List<Integer>> g</list<integer>…