08 2017 档案
摘要:Substring Anagrams Given a string s and a non-empty string p, find all the start indices of p's anagrams in s. Strings consists of lowercase English l
阅读全文
摘要:Topological Sorting Given an directed graph, a topological order of the graph nodes is defined as follow: For each directed edge A -> B in graph, A mu
阅读全文
摘要:Graph Valid Tree Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), write a function to check whethe
阅读全文
摘要:Description: There are a total of n courses you have to take, labeled from 0 to n - 1. Some courses may have prerequisites, for example to take course
阅读全文
浙公网安备 33010602011771号