1315. Sum of Nodes with Even-Valued Grandparent
1315. Sum of Nodes with Even-Valued Grandparent
Description
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 grandparent , return 0
.