LeetCode
Average of Levels in Binary Tree
Click
here
for an explanation.