@@ -101,44 +101,44 @@ func updateMatrix_BFS(matrix [][]int) [][]int {
101
101
| No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity | Favorite| Acceptance |
102
102
| :--------:| :------- | :--------: | :----------: | :----: | :-----: | :-----: | :-----: |
103
103
| 0017| Letter Combinations of a Phone Number| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0017.Letter-Combinations-of-a-Phone-Number.md" >}})| Medium| O(log n)| O(1)|| 55.5%|
104
- | 0022| Generate Parentheses| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0022.Generate-Parentheses.md" >}})| Medium| O(log n)| O(1)|| 71.7 %|
104
+ | 0022| Generate Parentheses| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0022.Generate-Parentheses.md" >}})| Medium| O(log n)| O(1)|| 71.8 %|
105
105
| 0037| Sudoku Solver| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0037.Sudoku-Solver.md" >}})| Hard| O(n^2)| O(n^2)| ❤️| 56.6%|
106
- | 0039| Combination Sum| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0039.Combination-Sum.md" >}})| Medium| O(n log n)| O(n)|| 67.5 %|
106
+ | 0039| Combination Sum| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0039.Combination-Sum.md" >}})| Medium| O(n log n)| O(n)|| 67.6 %|
107
107
| 0040| Combination Sum II| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0040.Combination-Sum-II.md" >}})| Medium| O(n log n)| O(n)|| 53.3%|
108
- | 0046| Permutations| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0046.Permutations.md" >}})| Medium| O(n)| O(n)| ❤️| 74.6 %|
109
- | 0047| Permutations II| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0047.Permutations-II.md" >}})| Medium| O(n^2)| O(n)| ❤️| 56.6 %|
110
- | 0051| N-Queens| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0051.N-Queens.md" >}})| Hard| O(n!)| O(n)| ❤️| 62.8 %|
111
- | 0052| N-Queens II| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0052.N-Queens-II.md" >}})| Hard| O(n!)| O(n)| ❤️| 70.8 %|
108
+ | 0046| Permutations| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0046.Permutations.md" >}})| Medium| O(n)| O(n)| ❤️| 74.7 %|
109
+ | 0047| Permutations II| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0047.Permutations-II.md" >}})| Medium| O(n^2)| O(n)| ❤️| 56.7 %|
110
+ | 0051| N-Queens| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0051.N-Queens.md" >}})| Hard| O(n!)| O(n)| ❤️| 62.9 %|
111
+ | 0052| N-Queens II| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0052.N-Queens-II.md" >}})| Hard| O(n!)| O(n)| ❤️| 70.9 %|
112
112
| 0077| Combinations| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0077.Combinations.md" >}})| Medium| O(n)| O(n)| ❤️| 66.0%|
113
- | 0078| Subsets| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0078.Subsets.md" >}})| Medium| O(n^2)| O(n)| ❤️| 73.7 %|
113
+ | 0078| Subsets| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0078.Subsets.md" >}})| Medium| O(n^2)| O(n)| ❤️| 73.8 %|
114
114
| 0079| Word Search| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0079.Word-Search.md" >}})| Medium| O(n^2)| O(n^2)| ❤️| 39.8%|
115
115
| 0089| Gray Code| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0089.Gray-Code.md" >}})| Medium| O(n)| O(1)|| 56.4%|
116
116
| 0090| Subsets II| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0090.Subsets-II.md" >}})| Medium| O(n^2)| O(n)| ❤️| 55.2%|
117
- | 0093| Restore IP Addresses| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0093.Restore-IP-Addresses.md" >}})| Medium| O(n)| O(n)| ❤️| 43.3 %|
118
- | 0095| Unique Binary Search Trees II| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0095.Unique-Binary-Search-Trees-II.md" >}})| Medium|||| 51.4 %|
119
- | 0113| Path Sum II| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0113.Path-Sum-II.md" >}})| Medium|||| 56.5 %|
117
+ | 0093| Restore IP Addresses| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0093.Restore-IP-Addresses.md" >}})| Medium| O(n)| O(n)| ❤️| 43.4 %|
118
+ | 0095| Unique Binary Search Trees II| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0095.Unique-Binary-Search-Trees-II.md" >}})| Medium|||| 51.5 %|
119
+ | 0113| Path Sum II| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0113.Path-Sum-II.md" >}})| Medium|||| 56.6 %|
120
120
| 0126| Word Ladder II| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0126.Word-Ladder-II.md" >}})| Hard| O(n)| O(n^2)| ❤️| 27.6%|
121
121
| 0131| Palindrome Partitioning| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0131.Palindrome-Partitioning.md" >}})| Medium| O(n)| O(n^2)| ❤️| 62.3%|
122
- | 0212| Word Search II| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0212.Word-Search-II.md" >}})| Hard| O(n^2)| O(n^2)| ❤️| 37.0 %|
122
+ | 0212| Word Search II| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0212.Word-Search-II.md" >}})| Hard| O(n^2)| O(n^2)| ❤️| 36.9 %|
123
123
| 0216| Combination Sum III| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0216.Combination-Sum-III.md" >}})| Medium| O(n)| O(1)| ❤️| 67.0%|
124
124
| 0257| Binary Tree Paths| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0257.Binary-Tree-Paths.md" >}})| Easy|||| 60.5%|
125
125
| 0301| Remove Invalid Parentheses| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0301.Remove-Invalid-Parentheses.md" >}})| Hard|||| 47.1%|
126
126
| 0306| Additive Number| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0306.Additive-Number.md" >}})| Medium| O(n^2)| O(1)| ❤️| 30.9%|
127
127
| 0357| Count Numbers with Unique Digits| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0357.Count-Numbers-with-Unique-Digits.md" >}})| Medium| O(1)| O(1)|| 51.5%|
128
- | 0401| Binary Watch| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0401.Binary-Watch.md" >}})| Easy| O(1)| O(1)|| 51.4 %|
129
- | 0473| Matchsticks to Square| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0473.Matchsticks-to-Square.md" >}})| Medium|||| 40.5 %|
128
+ | 0401| Binary Watch| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0401.Binary-Watch.md" >}})| Easy| O(1)| O(1)|| 51.5 %|
129
+ | 0473| Matchsticks to Square| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0473.Matchsticks-to-Square.md" >}})| Medium|||| 40.4 %|
130
130
| 0491| Increasing Subsequences| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0491.Increasing-Subsequences.md" >}})| Medium|||| 52.0%|
131
131
| 0494| Target Sum| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0494.Target-Sum.md" >}})| Medium|||| 45.6%|
132
132
| 0526| Beautiful Arrangement| [ Go] ({{< relref "/ChapterFour/0500~ 0599/0526.Beautiful-Arrangement.md" >}})| Medium| O(n^2)| O(1)| ❤️| 64.6%|
133
- | 0638| Shopping Offers| [ Go] ({{< relref "/ChapterFour/0600~ 0699/0638.Shopping-Offers.md" >}})| Medium|||| 54.3 %|
133
+ | 0638| Shopping Offers| [ Go] ({{< relref "/ChapterFour/0600~ 0699/0638.Shopping-Offers.md" >}})| Medium|||| 54.2 %|
134
134
| 0784| Letter Case Permutation| [ Go] ({{< relref "/ChapterFour/0700~ 0799/0784.Letter-Case-Permutation.md" >}})| Medium| O(n)| O(n)|| 73.4%|
135
- | 0816| Ambiguous Coordinates| [ Go] ({{< relref "/ChapterFour/0800~ 0899/0816.Ambiguous-Coordinates.md" >}})| Medium|||| 56.0 %|
135
+ | 0816| Ambiguous Coordinates| [ Go] ({{< relref "/ChapterFour/0800~ 0899/0816.Ambiguous-Coordinates.md" >}})| Medium|||| 56.1 %|
136
136
| 0842| Split Array into Fibonacci Sequence| [ Go] ({{< relref "/ChapterFour/0800~ 0899/0842.Split-Array-into-Fibonacci-Sequence.md" >}})| Medium| O(n^2)| O(1)| ❤️| 38.2%|
137
137
| 0980| Unique Paths III| [ Go] ({{< relref "/ChapterFour/0900~ 0999/0980.Unique-Paths-III.md" >}})| Hard| O(n log n)| O(n)|| 79.6%|
138
- | 0996| Number of Squareful Arrays| [ Go] ({{< relref "/ChapterFour/0900~ 0999/0996.Number-of-Squareful-Arrays.md" >}})| Hard| O(n log n)| O(n) || 49.2 %|
138
+ | 0996| Number of Squareful Arrays| [ Go] ({{< relref "/ChapterFour/0900~ 0999/0996.Number-of-Squareful-Arrays.md" >}})| Hard| O(n log n)| O(n) || 49.3 %|
139
139
| 1079| Letter Tile Possibilities| [ Go] ({{< relref "/ChapterFour/1000~ 1099/1079.Letter-Tile-Possibilities.md" >}})| Medium| O(n^2)| O(1)| ❤️| 76.1%|
140
- | 1239| Maximum Length of a Concatenated String with Unique Characters| [ Go] ({{< relref "/ChapterFour/1200~ 1299/1239.Maximum-Length-of-a-Concatenated-String-with-Unique-Characters.md" >}})| Medium|||| 50.6 %|
141
- | 1655| Distribute Repeating Integers| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1655.Distribute-Repeating-Integers.md" >}})| Hard|||| 39.7 %|
140
+ | 1239| Maximum Length of a Concatenated String with Unique Characters| [ Go] ({{< relref "/ChapterFour/1200~ 1299/1239.Maximum-Length-of-a-Concatenated-String-with-Unique-Characters.md" >}})| Medium|||| 52.2 %|
141
+ | 1655| Distribute Repeating Integers| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1655.Distribute-Repeating-Integers.md" >}})| Hard|||| 39.6 %|
142
142
| ------------| -------------------------------------------------------| -------| ----------------| ---------------| -------------| -------------| -------------|
143
143
144
144
0 commit comments