Files
2021-01-17 02:23:56 +08:00

6.1 KiB

title type
String docs

String

No. Title Solution Difficulty TimeComplexity SpaceComplexity Favorite Acceptance
0003 Longest Substring Without Repeating Characters [Go]({{< relref "/ChapterFour/0003.Longest-Substring-Without-Repeating-Characters.md" >}}) Medium O(n) O(1) ❤️ 31.3%
0013 Roman to Integer [Go]({{< relref "/ChapterFour/0013.Roman-to-Integer.md" >}}) Easy 56.4%
0017 Letter Combinations of a Phone Number [Go]({{< relref "/ChapterFour/0017.Letter-Combinations-of-a-Phone-Number.md" >}}) Medium O(log n) O(1) 48.6%
0020 Valid Parentheses [Go]({{< relref "/ChapterFour/0020.Valid-Parentheses.md" >}}) Easy O(log n) O(1) 39.5%
0022 Generate Parentheses [Go]({{< relref "/ChapterFour/0022.Generate-Parentheses.md" >}}) Medium O(log n) O(1) 64.8%
0028 Implement strStr() [Go]({{< relref "/ChapterFour/0028.Implement-strStr.md" >}}) Easy O(n) O(1) 35.0%
0030 Substring with Concatenation of All Words [Go]({{< relref "/ChapterFour/0030.Substring-with-Concatenation-of-All-Words.md" >}}) Hard O(n) O(n) ❤️ 26.0%
0049 Group Anagrams [Go]({{< relref "/ChapterFour/0049.Group-Anagrams.md" >}}) Medium O(n log n) O(n) 58.8%
0067 Add Binary [Go]({{< relref "/ChapterFour/0067.Add-Binary.md" >}}) Easy 46.6%
0071 Simplify Path [Go]({{< relref "/ChapterFour/0071.Simplify-Path.md" >}}) Medium O(n) O(n) 33.6%
0076 Minimum Window Substring [Go]({{< relref "/ChapterFour/0076.Minimum-Window-Substring.md" >}}) Hard O(n) O(n) ❤️ 35.7%
0091 Decode Ways [Go]({{< relref "/ChapterFour/0091.Decode-Ways.md" >}}) Medium O(n) O(n) 26.2%
0093 Restore IP Addresses [Go]({{< relref "/ChapterFour/0093.Restore-IP-Addresses.md" >}}) Medium O(n) O(n) ❤️ 37.2%
0125 Valid Palindrome [Go]({{< relref "/ChapterFour/0125.Valid-Palindrome.md" >}}) Easy O(n) O(1) 37.9%
0126 Word Ladder II [Go]({{< relref "/ChapterFour/0126.Word-Ladder-II.md" >}}) Hard O(n) O(n^2) ❤️ 23.4%
0151 Reverse Words in a String [Go]({{< relref "/ChapterFour/0151.Reverse-Words-in-a-String.md" >}}) Medium 23.3%
0344 Reverse String [Go]({{< relref "/ChapterFour/0344.Reverse-String.md" >}}) Easy O(n) O(1) 70.0%
0345 Reverse Vowels of a String [Go]({{< relref "/ChapterFour/0345.Reverse-Vowels-of-a-String.md" >}}) Easy O(n) O(1) 44.9%
0385 Mini Parser [Go]({{< relref "/ChapterFour/0385.Mini-Parser.md" >}}) Medium 34.3%
0387 First Unique Character in a String [Go]({{< relref "/ChapterFour/0387.First-Unique-Character-in-a-String.md" >}}) Easy 53.7%
0537 Complex Number Multiplication [Go]({{< relref "/ChapterFour/0537.Complex-Number-Multiplication.md" >}}) Medium 68.3%
0541 Reverse String II [Go]({{< relref "/ChapterFour/0541.Reverse-String-II.md" >}}) Easy 49.0%
0557 Reverse Words in a String III [Go]({{< relref "/ChapterFour/0557.Reverse-Words-in-a-String-III.md" >}}) Easy 71.5%
0632 Smallest Range Covering Elements from K Lists [Go]({{< relref "/ChapterFour/0632.Smallest-Range-Covering-Elements-from-K-Lists.md" >}}) Hard 53.9%
0767 Reorganize String [Go]({{< relref "/ChapterFour/0767.Reorganize-String.md" >}}) Medium O(n log n) O(log n) ❤️ 49.9%
0819 Most Common Word [Go]({{< relref "/ChapterFour/0819.Most-Common-Word.md" >}}) Easy 45.4%
0842 Split Array into Fibonacci Sequence [Go]({{< relref "/ChapterFour/0842.Split-Array-into-Fibonacci-Sequence.md" >}}) Medium O(n^2) O(1) ❤️ 36.7%
0856 Score of Parentheses [Go]({{< relref "/ChapterFour/0856.Score-of-Parentheses.md" >}}) Medium O(n) O(n) 62.2%
0925 Long Pressed Name [Go]({{< relref "/ChapterFour/0925.Long-Pressed-Name.md" >}}) Easy O(n) O(1) 38.4%
1003 Check If Word Is Valid After Substitutions [Go]({{< relref "/ChapterFour/1003.Check-If-Word-Is-Valid-After-Substitutions.md" >}}) Medium O(n) O(1) 56.1%
1108 Defanging an IP Address [Go]({{< relref "/ChapterFour/1108.Defanging-an-IP-Address.md" >}}) Easy 88.5%
1170 Compare Strings by Frequency of the Smallest Character [Go]({{< relref "/ChapterFour/1170.Compare-Strings-by-Frequency-of-the-Smallest-Character.md" >}}) Easy 59.5%
1189 Maximum Number of Balloons [Go]({{< relref "/ChapterFour/1189.Maximum-Number-of-Balloons.md" >}}) Easy 61.8%
1221 Split a String in Balanced Strings [Go]({{< relref "/ChapterFour/1221.Split-a-String-in-Balanced-Strings.md" >}}) Easy 84.0%
1234 Replace the Substring for Balanced String [Go]({{< relref "/ChapterFour/1234.Replace-the-Substring-for-Balanced-String.md" >}}) Medium 34.4%
1455 Check If a Word Occurs As a Prefix of Any Word in a Sentence [Go]({{< relref "/ChapterFour/1455.Check-If-a-Word-Occurs-As-a-Prefix-of-Any-Word-in-a-Sentence.md" >}}) Easy 64.7%
1573 Number of Ways to Split a String [Go]({{< relref "/ChapterFour/1573.Number-of-Ways-to-Split-a-String.md" >}}) Medium 30.8%
1653 Minimum Deletions to Make String Balanced [Go]({{< relref "/ChapterFour/1653.Minimum-Deletions-to-Make-String-Balanced.md" >}}) Medium 49.7%
1662 Check If Two String Arrays are Equivalent [Go]({{< relref "/ChapterFour/1662.Check-If-Two-String-Arrays-are-Equivalent.md" >}}) Easy 83.7%
1668 Maximum Repeating Substring [Go]({{< relref "/ChapterFour/1668.Maximum-Repeating-Substring.md" >}}) Easy 38.7%
1678 Goal Parser Interpretation [Go]({{< relref "/ChapterFour/1678.Goal-Parser-Interpretation.md" >}}) Easy 86.7%
1684 Count the Number of Consistent Strings [Go]({{< relref "/ChapterFour/1684.Count-the-Number-of-Consistent-Strings.md" >}}) Easy 84.2%
1694 Reformat Phone Number [Go]({{< relref "/ChapterFour/1694.Reformat-Phone-Number.md" >}}) Easy 67.1%
------------ ------------------------------------------------------- ------- ---------------- --------------- ------------- ------------- -------------