This problem is in Contest(s) below:
Contest 1296:二叉树
Contest 1301:树