摘要:
Given an directed graph, a topological order of the graph nodes is defined as follow: For each directed edge A -> B in graph, A must before B in the o 阅读全文
posted @ 2017-10-25 13:10
jasminemzy
阅读(151)
评论(0)
推荐(0)
摘要:
Given a undirected graph, a node and a target, return the nearest node to given node which value of it is target, return NULL if you can't find. There 阅读全文
posted @ 2017-10-25 05:04
jasminemzy
阅读(141)
评论(0)
推荐(0)
摘要:
Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. How we serialize an undirected graph: Nodes are labele 阅读全文
posted @ 2017-10-25 03:26
jasminemzy
阅读(208)
评论(0)
推荐(0)

浙公网安备 33010602011771号