Count Nodes Equal to Sum of Descendants

mediumSolve on LeetCodeLast edited: July 26, 2025