Learn
Practice
Newsletter
Resources
Resume
New
F
Toggle theme
0
F
Toggle theme
0
Toggle menu
← Back to All Animations
Average of Levels in Binary Tree
Bookmark
Input
Example 1
Complete Tree
Large Values
Custom
tree
=
[3, 9, 20, null, null, 15, 7]
3
9
20
15
7
Level 0
Level 1
Level 2
algo
master
.
io
Step:
Start: Compute average of each level in binary tree
0 / 17
Input
Example 1
Complete Tree
Large Values
Custom
tree
=
[3, 9, 20, null, null, 15, 7]
0 / 17
3
9
20
15
7
Level 0
Level 1
Level 2
algo
master
.
io
Step:
Start: Compute average of each level in binary tree