Learn
Practice
Newsletter
Resources
Resume
New
F
Toggle theme
0
F
Toggle theme
0
Toggle menu
← Back to All Animations
Distribute Coins in Binary Tree
Bookmark
Input
Example 1
Example 2
Example 3
Custom
tree
=
[3, 0, 0]
3
0
0
Total Moves: 0
algo
master
.
io
Step:
Start: Distribute coins so each node has exactly 1 coin
0 / 20
Input
Example 1
Example 2
Example 3
Custom
tree
=
[3, 0, 0]
0 / 20
3
0
0
Total Moves: 0
algo
master
.
io
Step:
Start: Distribute coins so each node has exactly 1 coin