摘要: 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 @ 2016-04-29 16:36 YuriFLAG 阅读(189) 评论(0) 推荐(0)
摘要: Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. OJ's undirected graph serialization: Nodes are labeled 阅读全文
posted @ 2016-04-29 15:22 YuriFLAG 阅读(189) 评论(0) 推荐(0)
摘要: Given an integer array with no duplicates. A max tree building on this array is defined as follow: The root is the maximum number in the array The lef 阅读全文
posted @ 2016-04-29 08:52 YuriFLAG 阅读(218) 评论(0) 推荐(0)