Rosetta Problems

Count the Number of Good Nodes

https://leetcode.com/problems/count-the-number-of-good-nodes