计算二叉树每层平均值

  • Post author:
  • Post category:其他




LeetCode 637. Average of Levels in Binary Tree



Given a non-empty binary tree, return the average value of the nodes on each level in the form of an array.




版权声明:本文为qwas12345qwas原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。