Tree MEX Problem (By Moscow Workshop ICPC)
TREE MEX
Can anybody tell me how to solve this problem?
Codeforces Round 945 Solution Discussion (with myself)
Atcoder ABC #354 Solution Discussion