Poll and Offer
Data Structure
Average of Levels in Binary Tree
Programmer - 0
Given a non-empty binary tree, return the average value of the nodes on each level in the form of an array.
Example 1:
Input:
...
To be updated with all the latest news, offers and special announcements.