
滑动窗口
文章平均质量分 87
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 244. Shortest Word Distance II(最短单词距离)
原题网址:https://leetcode.com/problems/shortest-word-distance-ii/This is a follow up of Shortest Word Distance. The only difference is now you are given the list of words and your method will be c原创 2016-04-07 05:28:50 · 1109 阅读 · 0 评论 -
LeetCode 245. Shortest Word Distance III(最短单词距离)
原题网址:https://leetcode.com/problems/shortest-word-distance-iii/This is a follow up of Shortest Word Distance. The only difference is now word1 could be the same as word2.Given a list of wor原创 2016-04-07 05:53:34 · 978 阅读 · 0 评论