# Leetcode 637 - Average levels in binary tree

Note:

• Use level order traversal.

Given the root of a binary tree, return the average value of the nodes on each level in the form of an array. Answers within 10-5 of the actual answer will be accepted.

Example