
String
WX_ming
写代码就像写作文一样,思路要明确,方法要对,否则又臭又长还出错
展开
-
LeetCode 890. Find and Replace Pattern C++ [自己开发的博客网站,欢迎访问](www.weiboke.online) www.weiboke.online
890. Find and Replace PatternYou have a list of words and a pattern, and you want to know which words in words matches the pattern.A word matches the pattern if there exists a permutation of lette...原创 2018-08-23 09:06:51 · 531 阅读 · 0 评论 -
LeetCode 522. Longest Uncommon Subsequence II C++
522. Longest Uncommon Subsequence IIGiven a list of strings, you need to find the longest uncommon subsequence among them. The longest uncommon subsequence is defined as the longest subsequence of o...原创 2018-08-23 10:31:37 · 245 阅读 · 0 评论 -
[WXM] LeetCode 395. Longest Substring with At Least K Repeating Characters C++
395. Longest Substring with At Least K Repeating CharactersFind the length of the longest substring T of a given string (consists of lowercase letters only) such that every character in T appears no...原创 2018-09-06 16:15:14 · 378 阅读 · 0 评论 -
[WXM] LeetCode 424. Longest Repeating Character Replacement C++
424. Longest Repeating Character ReplacementGiven 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 len...原创 2018-09-06 17:11:08 · 297 阅读 · 0 评论 -
leetcode 385. Mini Parser
385. Mini ParserGiven a nested list of integers represented as a string, implement a parser to deserialize it.Each element is either an integer, or a list – whose elements may also be integers or ot...原创 2019-02-02 14:11:18 · 186 阅读 · 0 评论 -
leetcode 880. Decoded String at Index
880. Decoded String at IndexAn encoded string S is given. To find and write the decoded string to a tape, the encoded string is read one character at a time and the following steps are taken:If the...原创 2019-02-03 17:03:18 · 215 阅读 · 0 评论 -
LeetCode 68. Text Justification
68. Text JustificationGiven an array of words and a width maxWidth, format the text such that each line has exactly maxWidth characters and is fully (left and right) justified.You should pack your w...原创 2019-02-17 15:35:41 · 175 阅读 · 0 评论 -
LeetCode 316. Remove Duplicate Letters
(自己开发的博客,欢迎访问)https://www.weiboke.online316. Remove Duplicate LettersGiven a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. Yo...原创 2019-02-11 17:08:00 · 325 阅读 · 0 评论 -
LeetCode 10. Regular Expression Matching
10. Regular Expression MatchingGiven an input string (s) and a pattern §, implement regular expression matching with support for ‘.’ and ‘*’.‘.’ Matches any single character.‘*’ Matches zero or mor...原创 2019-02-14 15:21:57 · 192 阅读 · 0 评论