Skip to content

Commit fc4bd94

Browse files
nik-revmao-sz
andauthored
feat: remove line break
Co-authored-by: MaoShizhong <[email protected]>
1 parent f9bbd25 commit fc4bd94

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

19_pascal/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ Fourth row: `[0+1, 1+2, 2+1, 1+0]` or simply `[1, 3, 3, 1]`
1313

1414
The pattern continues forever.
1515

16-
Your task is to create a *recursive* function, `pascal` - that will take an input `n` and output the
17-
`n`th pascal's row.
16+
Your task is to create a *recursive* function, `pascal` - that will take an input `n` and output the `n`th pascal's row as an array of numbers.
17+
18+
For example, `pascal(3)` should return `[1, 2, 1]`.

0 commit comments

Comments
 (0)