carloscn / carloscn/structstudy
leetcode119:杨辉三角 II(pascals-triangle-ii)
Open
Level-easy
一般问题
数组
- Dominant language
- C
- Stars
- 4
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
### 问题描述:
给定一个非负索引 rowIndex,返回「杨辉三角」的第 rowIndex 行。

示例 1:
输入: rowIndex = 3
输出: [1,3,3,1]
示例 2:
输入: rowIndex = 0
输出: [1]
示例 3:
输入: rowIndex = 1
输出: [1,1]
提示:
0 <= rowIndex <= 33
来源:力扣(LeetCode)
链接:https://leetcode.cn/problems/pascals-triangle-ii
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.