摘要:
Given n nodes in a graph labeled from 1 to n. There is no edges in the graph at beginning. You need to support the following method:1. connect(a, b), 阅读全文
posted @ 2017-11-12 02:23
Review->Improve
阅读(244)
评论(0)
推荐(0)
摘要:
Given n nodes in a graph labeled from 1 to n. There is no edges in the graph at beginning. You need to support the following method: 1. connect(a, b), 阅读全文
posted @ 2017-11-12 02:14
Review->Improve
阅读(603)
评论(0)
推荐(0)
摘要:
Find the number Weak Connected Component in the directed graph. Each node in the graph contains a label and a list of its neighbors. (a weak connected 阅读全文
posted @ 2017-11-12 01:50
Review->Improve
阅读(620)
评论(0)
推荐(0)

浙公网安备 33010602011771号