title | type |
---|---|
String |
docs |
Title | Solution | Difficulty | Time | Space | 收藏 |
---|---|---|---|---|---|
3. Longest Substring Without Repeating Characters | [Go]({{< relref "/ChapterFour/0003.Longest-Substring-Without-Repeating-Characters.md" >}}) | Medium | O(n) | O(1) | ❤️ |
17. Letter Combinations of a Phone Number | [Go]({{< relref "/ChapterFour/0017.Letter-Combinations-of-a-Phone-Number.md" >}}) | Medium | O(log n) | O(1) | |
20. Valid Parentheses | [Go]({{< relref "/ChapterFour/0020.Valid-Parentheses.md" >}}) | Easy | O(log n) | O(1) | |
22. Generate Parentheses | [Go]({{< relref "/ChapterFour/0022.Generate-Parentheses.md" >}}) | Medium | O(log n) | O(1) | |
28. Implement strStr() | [Go]({{< relref "/ChapterFour/0028.Implement-strStr.md" >}}) | Easy | O(n) | O(1) | |
30. Substring with Concatenation of All Words | [Go]({{< relref "/ChapterFour/0030.Substring-with-Concatenation-of-All-Words.md" >}}) | Hard | O(n) | O(n) | ❤️ |
49. Group Anagrams | [Go]({{< relref "/ChapterFour/0049.Group-Anagrams.md" >}}) | Medium | O(n log n) | O(n) | |
71. Simplify Path | [Go]({{< relref "/ChapterFour/0071.Simplify-Path.md" >}}) | Medium | O(n) | O(n) | |
76. Minimum Window Substring | [Go]({{< relref "/ChapterFour/0076.Minimum-Window-Substring.md" >}}) | Hard | O(n) | O(n) | ❤️ |
91. Decode Ways | [Go]({{< relref "/ChapterFour/0091.Decode-Ways.md" >}}) | Medium | O(n) | O(n) | |
93. Restore IP Addresses | [Go]({{< relref "/ChapterFour/0093.Restore-IP-Addresses.md" >}}) | Medium | O(n) | O(n) | ❤️ |
125. Valid Palindrome | [Go]({{< relref "/ChapterFour/0125.Valid-Palindrome.md" >}}) | Easy | O(n) | O(1) | |
126. Word Ladder II | [Go]({{< relref "/ChapterFour/0126.Word-Ladder-II.md" >}}) | Hard | O(n) | O(n^2) | ❤️ |
344. Reverse String | [Go]({{< relref "/ChapterFour/0344.Reverse-String.md" >}}) | Easy | O(n) | O(1) | |
345. Reverse Vowels of a String | [Go]({{< relref "/ChapterFour/0345.Reverse-Vowels-of-a-String.md" >}}) | Easy | O(n) | O(1) | |
767. Reorganize String | [Go]({{< relref "/ChapterFour/0767.Reorganize-String.md" >}}) | Medium | O(n log n) | O(log n) | ❤️ |
842. Split Array into Fibonacci Sequence | [Go]({{< relref "/ChapterFour/0842.Split-Array-into-Fibonacci-Sequence.md" >}}) | Medium | O(n^2) | O(1) | ❤️ |
856. Score of Parentheses | [Go]({{< relref "/ChapterFour/0856.Score-of-Parentheses.md" >}}) | Medium | O(n) | O(n) | |
925. Long Pressed Name | [Go]({{< relref "/ChapterFour/0925.Long-Pressed-Name.md" >}}) | Easy | O(n) | O(1) | |
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) | |
--------------------------------------- | --------------------------------- | -------------------------- | ----------------------- | ----------- | -------- |