广度优先搜索】【图论】【并集查找】2493. 将节点分成尽可能多的组https://blog.csdn.net/he_zhidan/article/details/136223970?spm=1001.2014.3001.5501