Leetcode算法学习日志-563 Binary Tree Tilt
Leetcode 563 Binary Tree Tilt
题目原文
Given a binary tree, return the tilt of the
whole tree.
The tilt of a tree node is defined as the
absolute difference between the sum of all left subtree nod
原创
2017-11-02 12:00:19 ·
318 阅读 ·
0 评论