获取num阶杨辉三角
阶数
getYangHuiTriangleOne(6); // [1, 5, 10, 10, 5, 1]getYangHuiTriangleOne(10); // [1, 9, 36, 84, 126, 126, 84, 36, 9, 1] 复制
getYangHuiTriangleOne(6); // [1, 5, 10, 10, 5, 1]getYangHuiTriangleOne(10); // [1, 9, 36, 84, 126, 126, 84, 36, 9, 1]
获取num阶杨辉三角