563. Binary Tree Tilt

題目: Given the root of a binary tree, return the sum of every tree node's tilt. The tilt of a tree node is the absolute difference between the sum of all left subtree node values and all right subtree
相關文章
相關標籤/搜索