【C++ DFS 换根法 图论】2385. 感染二叉树需要的总时间|1711https://blog.csdn.net/he_zhidan/article/details/143505601?spm=1001.2014.3001.5501