Leetcode 1315. Sum of Nodes with Even-Valued Grandparent (二叉树遍历好题)
SumofNodeswithEven-ValuedGrandparentMedium2.7K75CompaniesGiventherootofabinarytree,returnthesumofvaluesofnodeswithaneven-valuedgrandparent.Iftherearenonodeswithaneven-valuedgrandparent