摘要: This time let us consider the situation in the movie "Live and Let Die" in which James Bond, the world's most famous spy, was captured by a group of d... 阅读全文
posted @ 2015-02-12 20:08 糙哥 阅读(767) 评论(0) 推荐(0) 编辑
摘要: For a given undirected graph with N vertices and E edges, please list all the connected components by both DFS and BFS. Assume that all the vertices a... 阅读全文
posted @ 2015-02-12 19:27 糙哥 阅读(1237) 评论(0) 推荐(0) 编辑