![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode BFS
Tech In Pieces
这个作者很懒,什么都没留下…
展开
-
LeetCode 444 sequence reconstruction
Check whether the original sequence org can be uniquely reconstructed from the sequences in seqs. The org sequence is a permutation of the integers from 1 to n, with 1 ≤ n ≤ 10^4. Reconstruction means building a shortest common supersequence of the sequenc原创 2020-11-28 05:50:27 · 225 阅读 · 1 评论 -
LeetCode 269. Alien Dictionary
You are given a list of strings words from the dictionary, where words are sorted lexicographically by the rules of this new language.Derive the order of letters in this language, and return it. If the given input is invalid, return “”. If there are multi原创 2020-11-27 10:38:11 · 125 阅读 · 0 评论 -
LeetCode BFS题目以及要注意的点
1原创 2020-11-27 03:06:02 · 292 阅读 · 0 评论