Count Number of Possible Root Nodes

hardSolve on LeetCode
Last edited: August 2, 2025