Files
2021-02-07 15:22:25 +08:00

6.5 KiB

title type weight
2.02 String docs 2

String

No. Title Solution Difficulty TimeComplexity SpaceComplexity Favorite Acceptance
0003 Longest Substring Without Repeating Characters [Go]({{< relref "/ChapterFour/0000~0099/0003.Longest-Substring-Without-Repeating-Characters.md" >}}) Medium O(n) O(1) ❤️ 31.3%
0013 Roman to Integer [Go]({{< relref "/ChapterFour/0000~0099/0013.Roman-to-Integer.md" >}}) Easy 56.4%
0017 Letter Combinations of a Phone Number [Go]({{< relref "/ChapterFour/0000~0099/0017.Letter-Combinations-of-a-Phone-Number.md" >}}) Medium O(log n) O(1) 48.8%
0020 Valid Parentheses [Go]({{< relref "/ChapterFour/0000~0099/0020.Valid-Parentheses.md" >}}) Easy O(log n) O(1) 39.8%
0022 Generate Parentheses [Go]({{< relref "/ChapterFour/0000~0099/0022.Generate-Parentheses.md" >}}) Medium O(log n) O(1) 64.9%
0028 Implement strStr() [Go]({{< relref "/ChapterFour/0000~0099/0028.Implement-strStr.md" >}}) Easy O(n) O(1) 35.1%
0030 Substring with Concatenation of All Words [Go]({{< relref "/ChapterFour/0000~0099/0030.Substring-with-Concatenation-of-All-Words.md" >}}) Hard O(n) O(n) ❤️ 26.1%
0049 Group Anagrams [Go]({{< relref "/ChapterFour/0000~0099/0049.Group-Anagrams.md" >}}) Medium O(n log n) O(n) 59.0%
0067 Add Binary [Go]({{< relref "/ChapterFour/0000~0099/0067.Add-Binary.md" >}}) Easy 46.7%
0071 Simplify Path [Go]({{< relref "/ChapterFour/0000~0099/0071.Simplify-Path.md" >}}) Medium O(n) O(n) 33.6%
0076 Minimum Window Substring [Go]({{< relref "/ChapterFour/0000~0099/0076.Minimum-Window-Substring.md" >}}) Hard O(n) O(n) ❤️ 35.8%
0091 Decode Ways [Go]({{< relref "/ChapterFour/0000~0099/0091.Decode-Ways.md" >}}) Medium O(n) O(n) 26.3%
0093 Restore IP Addresses [Go]({{< relref "/ChapterFour/0000~0099/0093.Restore-IP-Addresses.md" >}}) Medium O(n) O(n) ❤️ 37.3%
0125 Valid Palindrome [Go]({{< relref "/ChapterFour/0100~0199/0125.Valid-Palindrome.md" >}}) Easy O(n) O(1) 38.0%
0126 Word Ladder II [Go]({{< relref "/ChapterFour/0100~0199/0126.Word-Ladder-II.md" >}}) Hard O(n) O(n^2) ❤️ 23.5%
0151 Reverse Words in a String [Go]({{< relref "/ChapterFour/0100~0199/0151.Reverse-Words-in-a-String.md" >}}) Medium 23.4%
0344 Reverse String [Go]({{< relref "/ChapterFour/0300~0399/0344.Reverse-String.md" >}}) Easy O(n) O(1) 70.1%
0345 Reverse Vowels of a String [Go]({{< relref "/ChapterFour/0300~0399/0345.Reverse-Vowels-of-a-String.md" >}}) Easy O(n) O(1) 44.9%
0385 Mini Parser [Go]({{< relref "/ChapterFour/0300~0399/0385.Mini-Parser.md" >}}) Medium 34.3%
0387 First Unique Character in a String [Go]({{< relref "/ChapterFour/0300~0399/0387.First-Unique-Character-in-a-String.md" >}}) Easy 53.7%
0537 Complex Number Multiplication [Go]({{< relref "/ChapterFour/0500~0599/0537.Complex-Number-Multiplication.md" >}}) Medium 68.3%
0541 Reverse String II [Go]({{< relref "/ChapterFour/0500~0599/0541.Reverse-String-II.md" >}}) Easy 49.0%
0557 Reverse Words in a String III [Go]({{< relref "/ChapterFour/0500~0599/0557.Reverse-Words-in-a-String-III.md" >}}) Easy 71.6%
0632 Smallest Range Covering Elements from K Lists [Go]({{< relref "/ChapterFour/0600~0699/0632.Smallest-Range-Covering-Elements-from-K-Lists.md" >}}) Hard 54.0%
0767 Reorganize String [Go]({{< relref "/ChapterFour/0700~0799/0767.Reorganize-String.md" >}}) Medium O(n log n) O(log n) ❤️ 49.9%
0819 Most Common Word [Go]({{< relref "/ChapterFour/0800~0899/0819.Most-Common-Word.md" >}}) Easy 45.4%
0842 Split Array into Fibonacci Sequence [Go]({{< relref "/ChapterFour/0800~0899/0842.Split-Array-into-Fibonacci-Sequence.md" >}}) Medium O(n^2) O(1) ❤️ 36.7%
0856 Score of Parentheses [Go]({{< relref "/ChapterFour/0800~0899/0856.Score-of-Parentheses.md" >}}) Medium O(n) O(n) 62.3%
0925 Long Pressed Name [Go]({{< relref "/ChapterFour/0900~0999/0925.Long-Pressed-Name.md" >}}) Easy O(n) O(1) 38.3%
1003 Check If Word Is Valid After Substitutions [Go]({{< relref "/ChapterFour/1000~1099/1003.Check-If-Word-Is-Valid-After-Substitutions.md" >}}) Medium O(n) O(1) 56.2%
1108 Defanging an IP Address [Go]({{< relref "/ChapterFour/1100~1199/1108.Defanging-an-IP-Address.md" >}}) Easy 88.5%
1170 Compare Strings by Frequency of the Smallest Character [Go]({{< relref "/ChapterFour/1100~1199/1170.Compare-Strings-by-Frequency-of-the-Smallest-Character.md" >}}) Medium 59.5%
1189 Maximum Number of Balloons [Go]({{< relref "/ChapterFour/1100~1199/1189.Maximum-Number-of-Balloons.md" >}}) Easy 61.7%
1221 Split a String in Balanced Strings [Go]({{< relref "/ChapterFour/1200~1299/1221.Split-a-String-in-Balanced-Strings.md" >}}) Easy 84.1%
1234 Replace the Substring for Balanced String [Go]({{< relref "/ChapterFour/1200~1299/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/1400~1499/1455.Check-If-a-Word-Occurs-As-a-Prefix-of-Any-Word-in-a-Sentence.md" >}}) Easy 64.6%
1573 Number of Ways to Split a String [Go]({{< relref "/ChapterFour/1500~1599/1573.Number-of-Ways-to-Split-a-String.md" >}}) Medium 31.0%
1653 Minimum Deletions to Make String Balanced [Go]({{< relref "/ChapterFour/1600~1699/1653.Minimum-Deletions-to-Make-String-Balanced.md" >}}) Medium 50.2%
1662 Check If Two String Arrays are Equivalent [Go]({{< relref "/ChapterFour/1600~1699/1662.Check-If-Two-String-Arrays-are-Equivalent.md" >}}) Easy 83.5%
1668 Maximum Repeating Substring [Go]({{< relref "/ChapterFour/1600~1699/1668.Maximum-Repeating-Substring.md" >}}) Easy 38.5%
1678 Goal Parser Interpretation [Go]({{< relref "/ChapterFour/1600~1699/1678.Goal-Parser-Interpretation.md" >}}) Easy 86.2%
1684 Count the Number of Consistent Strings [Go]({{< relref "/ChapterFour/1600~1699/1684.Count-the-Number-of-Consistent-Strings.md" >}}) Easy 83.9%
1694 Reformat Phone Number [Go]({{< relref "/ChapterFour/1600~1699/1694.Reformat-Phone-Number.md" >}}) Easy 66.6%
------------ ------------------------------------------------------- ------- ---------------- --------------- ------------- ------------- -------------