- 合法重新排列数对:寻找欧拉通路
参考博客:https://blog.csdn.net/ltyqljhwcm/article/details/53232384?spm=1001.2101.3001.6650.2&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7Eessearch%7Evector-2.fixedcolumn&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7Eessearch%7Evector-2.fixedcolumn
题目链接 https://leetcode-cn.com/problems/valid-arrangement-of-pairs/submissions/
- 并查集:找出知晓秘密的所有专家