This problem is in Contest(s) below:
Contest 1364:数据结构-树
Contest 1296:二叉树
Contest 1296:二叉树
Contest 1301:树