Smallest Missing Genetic Value in Each Subtree

hardSolve on LeetCode
Last edited: August 2, 2025