This problem is in Contest(s) below:
Contest 1070:长训班数据结构专题
Contest 1133:2022提高STL
Contest 1101:2022寒假普及班数据结构基础