563. Binary Tree Tilt

Given a binary tree, return the tilt of the whole tree.java The tilt of a tree node is defined as the absolute difference between the sum of all left subtree node values and the sum of all right subtr
相關文章
相關標籤/搜索