[LeetCode] 1315. Sum of Nodes with Even-Valued Grandparent 祖父节点值为偶数的节点和

Given the root of a binary tree, return the sum of values of nodes with an even-valued grandparent. If there are no nodes with an even-valued grandpar
posted @ 2022-08-31 12:50  Grandyang  阅读(205)  评论(0编辑  收藏  举报
Fork me on GitHub