![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
双指针
文章平均质量分 69
liuchenjane
这个作者很懒,什么都没留下…
展开
-
408. Valid Word Abbreviation
408. Valid Word AbbreviationGiven a non-empty string s and an abbreviation abbr, return whether the string matches with the given abbreviation. A string such as "word" contains only the followin原创 2016-10-02 21:39:44 · 562 阅读 · 0 评论 -
Single Number问题总结
136. Single Number QuestionEditorial Solution My SubmissionsTotal Accepted: 154584Total Submissions: 299024Difficulty: EasyGiven an array of integers, every element转载 2016-09-16 18:35:38 · 521 阅读 · 0 评论 -
392. Is Subsequence
392. Is Subsequence QuestionEditorial Solution My SubmissionsTotal Accepted: 5098Total Submissions: 11532Difficulty: MediumGiven a string s and a string t, check if原创 2016-09-13 15:39:14 · 454 阅读 · 0 评论 -
413. Arithmetic Slices
A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the same.For example, these are arithmetic sequence:1,原创 2016-10-12 20:30:54 · 1389 阅读 · 0 评论 -
424. Longest Repeating Character Replacement
Given a string that consists of only uppercase English letters, you can replace any letter in the string with another letter at most k times. Find the length of a longest substring containing all repe原创 2016-10-16 15:34:09 · 1199 阅读 · 0 评论 -
44. Wildcard Matching
Implement wildcard pattern matching with support for '?' and '*'.'?' Matches any single character.'*' Matches any sequence of characters (including the empty sequence).The matching should cover t原创 2017-02-10 16:02:12 · 326 阅读 · 0 评论 -
循环链表的判断
重新理解了快慢指针,判断是否有循环这一问题。 142. Linked List Cycle II 287. Find the Duplicate Number 先看第一个:判断循环链表 Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Note: Do转载 2017-03-04 21:28:30 · 1687 阅读 · 0 评论