Leetcode 簡單二十九 楊輝三角

楊輝三角: PHP 12ms。暴力破解。 class Solution { /** * @param Integer $numRows * @return Integer[][] */ function generate($numRows) { $res = [[1],[1,1]]; if($numRows == 0)
相關文章
相關標籤/搜索