作者:
suhorng ( )
2011-02-22 21:55:00The two people will be friends if and only if thereexists a friend struct containing both of their ids.In other words, if we treat the friend struct as edges, then the problems is asking whether two vertices aredirectly connected by an edge