Learn
Practice
Newsletter
Resources
Animations
New
F
Toggle theme
0
F
0
Toggle menu
← Back to All Animations
Pascal's Triangle
Bookmark
Input
Example 1
Single row
7 rows
Custom
numRows
=
5
numRows =
5
0
1
2
3
4
each number is the sum of the two numbers directly above it
algo
master
.
io
Step:
Each number is the sum of the two numbers directly above it
0 / 32
Input
Example 1
Single row
7 rows
Custom
numRows
=
5
0 / 32
numRows =
5
0
1
2
3
4
each number is the sum of the two numbers directly above it
algo
master
.
io
Step:
Each number is the sum of the two numbers directly above it