This problem is in Contest(s) below:
Contest 1238:二叉树练习
Contest 1507:二叉树练习
Contest 1705:二叉树练习
Contest 1948:二叉树练习
Contest 2219:树和二叉树练习赛2022