随笔分类 -  字符串

摘要:Implement strStr() 题解 题目来源:https://leetcode.com/problems/implement strstr/description/ Description Implement "strStr()" . Return the index of the firs 阅读全文
posted @ 2018-02-04 16:04 言何午 阅读(115) 评论(0) 推荐(0)
摘要:Generate Parentheses 题解 题目来源:https://leetcode.com/problems/generate parentheses/description/ Description Given n pairs of parentheses, write a functio 阅读全文
posted @ 2018-01-31 15:36 言何午 阅读(135) 评论(0) 推荐(0)
摘要:Valid Parentheses 题解 题目来源:https://leetcode.com/problems/ Description Given a string containing just the characters , , , , and , determine if the inpu 阅读全文
posted @ 2018-01-31 10:17 言何午 阅读(99) 评论(0) 推荐(0)
摘要:Longest Common Prefix 题解 题目来源:https://leetcode.com/problems/longest common prefix/description/ Description Write a function to find the longest common 阅读全文
posted @ 2018-01-30 10:03 言何午 阅读(164) 评论(0) 推荐(0)
摘要:Reverse Integer 题解 题目来源:https://leetcode.com/problems/reverse integer/description/ Description Given a 32 bit signed integer, reverse digits of an int 阅读全文
posted @ 2018-01-25 10:50 言何午 阅读(132) 评论(0) 推荐(0)
摘要:String to Integer (atoi) 题解 题目来源:https://leetcode.com/problems/string to integer atoi/description/ Description Implement atoi to convert a string to a 阅读全文
posted @ 2018-01-25 09:52 言何午 阅读(89) 评论(0) 推荐(0)
摘要:Longest Palindromic Substring 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/longest palindromic substring/description/ Description Given a string s, 阅读全文
posted @ 2018-01-20 19:47 言何午 阅读(107) 评论(0) 推荐(0)
摘要:Minimum Time Difference 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/minimum time difference/description/ Description Given a list of 24 hour clock 阅读全文
posted @ 2017-11-12 21:50 言何午 阅读(155) 评论(0) 推荐(0)
摘要:Longest Common Substring题解 原创文章,拒绝转载 题目来源:http://www.lintcode.com/en/problem/longest common substring/ Description Given two strings, find the longest 阅读全文
posted @ 2017-11-12 20:16 言何午 阅读(175) 评论(0) 推荐(0)
摘要:Longest Substring Without Repeating Characters题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/longest substring without repeating characters/descripti 阅读全文
posted @ 2017-09-13 16:25 言何午 阅读(129) 评论(0) 推荐(0)