This problem is in Contest(s) below:
Contest 1238:二叉树练习
Contest 1507:二叉树练习