Problem 637 · Easy

Average of Levels in Binary Tree

Compute the average value on each level of a binary tree. The visual groups nodes by depth and shows each level's sum divided by its count.

Open the interactive visualisation