如何检测社交网络中两个人是否是朋友关系(union-find算法)_程序员_Silently9527_InfoQ写作社区