> For the complete documentation index, see [llms.txt](https://wentao-shao.gitbook.io/leetcode/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wentao-shao.gitbook.io/leetcode/array/118.pascals-triangle-array-118.pascals-triangle-md.md).

# \[118.Pascal's-Triangle]\(Array/118.Pascal's-Triangle.md)
