@@ -45,43 +45,43 @@ X & ~X = 0
45
45
| No. | Title | Solution | Difficulty | TimeComplexity | SpaceComplexity | Favorite| Acceptance |
46
46
| :--------:| :------- | :--------: | :----------: | :----: | :-----: | :-----: | :-----: |
47
47
| 0029| Divide Two Integers| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0029.Divide-Two-Integers.md" >}})| Medium|||| 17.0%|
48
- | 0067| Add Binary| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0067.Add-Binary.md" >}})| Easy|||| 50.1 %|
49
- | 0078| Subsets| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0078.Subsets.md" >}})| Medium| O(n^2)| O(n)| ❤️| 70.7 %|
50
- | 0089| Gray Code| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0089.Gray-Code.md" >}})| Medium|||| 54.9 %|
51
- | 0090| Subsets II| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0090.Subsets-II.md" >}})| Medium|||| 52.7 %|
52
- | 0136| Single Number| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0136.Single-Number.md" >}})| Easy| O(n)| O(1)|| 69.1 %|
53
- | 0137| Single Number II| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0137.Single-Number-II.md" >}})| Medium| O(n)| O(1)| ❤️| 56.3 %|
54
- | 0187| Repeated DNA Sequences| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0187.Repeated-DNA-Sequences.md" >}})| Medium| O(n)| O(1)|| 44.2 %|
55
- | 0190| Reverse Bits| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0190.Reverse-Bits.md" >}})| Easy| O(n)| O(1)| ❤️| 47.9 %|
56
- | 0191| Number of 1 Bits| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0191.Number-of-1-Bits.md" >}})| Easy| O(n)| O(1)|| 59.3 %|
57
- | 0201| Bitwise AND of Numbers Range| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0201.Bitwise-AND-of-Numbers-Range.md" >}})| Medium| O(n)| O(1)| ❤️| 41.6 %|
48
+ | 0067| Add Binary| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0067.Add-Binary.md" >}})| Easy|||| 50.2 %|
49
+ | 0078| Subsets| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0078.Subsets.md" >}})| Medium| O(n^2)| O(n)| ❤️| 70.9 %|
50
+ | 0089| Gray Code| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0089.Gray-Code.md" >}})| Medium|||| 55.0 %|
51
+ | 0090| Subsets II| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0090.Subsets-II.md" >}})| Medium|||| 52.8 %|
52
+ | 0136| Single Number| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0136.Single-Number.md" >}})| Easy| O(n)| O(1)|| 69.2 %|
53
+ | 0137| Single Number II| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0137.Single-Number-II.md" >}})| Medium| O(n)| O(1)| ❤️| 56.4 %|
54
+ | 0187| Repeated DNA Sequences| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0187.Repeated-DNA-Sequences.md" >}})| Medium| O(n)| O(1)|| 44.4 %|
55
+ | 0190| Reverse Bits| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0190.Reverse-Bits.md" >}})| Easy| O(n)| O(1)| ❤️| 48.2 %|
56
+ | 0191| Number of 1 Bits| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0191.Number-of-1-Bits.md" >}})| Easy| O(n)| O(1)|| 59.7 %|
57
+ | 0201| Bitwise AND of Numbers Range| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0201.Bitwise-AND-of-Numbers-Range.md" >}})| Medium| O(n)| O(1)| ❤️| 41.7 %|
58
58
| 0231| Power of Two| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0231.Power-of-Two.md" >}})| Easy| O(1)| O(1)|| 44.9%|
59
- | 0260| Single Number III| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0260.Single-Number-III.md" >}})| Medium| O(n)| O(1)| ❤️| 67.0 %|
60
- | 0268| Missing Number| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0268.Missing-Number.md" >}})| Easy| O(n)| O(1)|| 58.9 %|
59
+ | 0260| Single Number III| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0260.Single-Number-III.md" >}})| Medium| O(n)| O(1)| ❤️| 67.1 %|
60
+ | 0268| Missing Number| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0268.Missing-Number.md" >}})| Easy| O(n)| O(1)|| 59.1 %|
61
61
| 0287| Find the Duplicate Number| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0287.Find-the-Duplicate-Number.md" >}})| Medium|||| 58.4%|
62
- | 0318| Maximum Product of Word Lengths| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0318.Maximum-Product-of-Word-Lengths.md" >}})| Medium| O(n)| O(1)|| 56.4 %|
63
- | 0338| Counting Bits| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0338.Counting-Bits.md" >}})| Easy| O(n)| O(n)|| 73.9 %|
64
- | 0342| Power of Four| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0342.Power-of-Four.md" >}})| Easy| O(n)| O(1)|| 43.6 %|
62
+ | 0318| Maximum Product of Word Lengths| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0318.Maximum-Product-of-Word-Lengths.md" >}})| Medium| O(n)| O(1)|| 56.5 %|
63
+ | 0338| Counting Bits| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0338.Counting-Bits.md" >}})| Easy| O(n)| O(n)|| 74.1 %|
64
+ | 0342| Power of Four| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0342.Power-of-Four.md" >}})| Easy| O(n)| O(1)|| 43.7 %|
65
65
| 0371| Sum of Two Integers| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0371.Sum-of-Two-Integers.md" >}})| Medium| O(n)| O(1)|| 50.6%|
66
66
| 0389| Find the Difference| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0389.Find-the-Difference.md" >}})| Easy| O(n)| O(1)|| 60.5%|
67
67
| 0393| UTF-8 Validation| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0393.UTF-8-Validation.md" >}})| Medium| O(n)| O(1)|| 39.1%|
68
68
| 0397| Integer Replacement| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0397.Integer-Replacement.md" >}})| Medium| O(n)| O(1)|| 34.6%|
69
- | 0401| Binary Watch| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0401.Binary-Watch.md" >}})| Easy| O(1)| O(1)|| 50.2 %|
70
- | 0405| Convert a Number to Hexadecimal| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0405.Convert-a-Number-to-Hexadecimal.md" >}})| Easy| O(n)| O(1)|| 45.6 %|
69
+ | 0401| Binary Watch| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0401.Binary-Watch.md" >}})| Easy| O(1)| O(1)|| 50.3 %|
70
+ | 0405| Convert a Number to Hexadecimal| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0405.Convert-a-Number-to-Hexadecimal.md" >}})| Easy| O(n)| O(1)|| 45.7 %|
71
71
| 0421| Maximum XOR of Two Numbers in an Array| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0421.Maximum-XOR-of-Two-Numbers-in-an-Array.md" >}})| Medium| O(n)| O(1)| ❤️| 54.2%|
72
- | 0461| Hamming Distance| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0461.Hamming-Distance.md" >}})| Easy| O(n)| O(1)|| 74.4 %|
72
+ | 0461| Hamming Distance| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0461.Hamming-Distance.md" >}})| Easy| O(n)| O(1)|| 74.5 %|
73
73
| 0473| Matchsticks to Square| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0473.Matchsticks-to-Square.md" >}})| Medium|||| 40.4%|
74
74
| 0476| Number Complement| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0476.Number-Complement.md" >}})| Easy| O(n)| O(1)|| 66.6%|
75
75
| 0477| Total Hamming Distance| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0477.Total-Hamming-Distance.md" >}})| Medium| O(n)| O(1)|| 51.9%|
76
- | 0491| Increasing Subsequences| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0491.Increasing-Subsequences.md" >}})| Medium|||| 50.5 %|
76
+ | 0491| Increasing Subsequences| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0491.Increasing-Subsequences.md" >}})| Medium|||| 50.6 %|
77
77
| 0526| Beautiful Arrangement| [ Go] ({{< relref "/ChapterFour/0500~ 0599/0526.Beautiful-Arrangement.md" >}})| Medium|||| 64.2%|
78
- | 0638| Shopping Offers| [ Go] ({{< relref "/ChapterFour/0600~ 0699/0638.Shopping-Offers.md" >}})| Medium|||| 54.4 %|
78
+ | 0638| Shopping Offers| [ Go] ({{< relref "/ChapterFour/0600~ 0699/0638.Shopping-Offers.md" >}})| Medium|||| 54.5 %|
79
79
| 0645| Set Mismatch| [ Go] ({{< relref "/ChapterFour/0600~ 0699/0645.Set-Mismatch.md" >}})| Easy|||| 41.2%|
80
80
| 0693| Binary Number with Alternating Bits| [ Go] ({{< relref "/ChapterFour/0600~ 0699/0693.Binary-Number-with-Alternating-Bits.md" >}})| Easy| O(n)| O(1)| ❤️| 60.7%|
81
- | 0756| Pyramid Transition Matrix| [ Go] ({{< relref "/ChapterFour/0700~ 0799/0756.Pyramid-Transition-Matrix.md" >}})| Medium| O(n log n)| O(n)|| 54.8 %|
82
- | 0762| Prime Number of Set Bits in Binary Representation| [ Go] ({{< relref "/ChapterFour/0700~ 0799/0762.Prime-Number-of-Set-Bits-in-Binary-Representation.md" >}})| Easy| O(n)| O(1)|| 66.4 %|
83
- | 0784| Letter Case Permutation| [ Go] ({{< relref "/ChapterFour/0700~ 0799/0784.Letter-Case-Permutation.md" >}})| Medium| O(n)| O(1)|| 71.9 %|
84
- | 0810| Chalkboard XOR Game| [ Go] ({{< relref "/ChapterFour/0800~ 0899/0810.Chalkboard-XOR-Game.md" >}})| Hard|||| 52.9 %|
81
+ | 0756| Pyramid Transition Matrix| [ Go] ({{< relref "/ChapterFour/0700~ 0799/0756.Pyramid-Transition-Matrix.md" >}})| Medium| O(n log n)| O(n)|| 54.7 %|
82
+ | 0762| Prime Number of Set Bits in Binary Representation| [ Go] ({{< relref "/ChapterFour/0700~ 0799/0762.Prime-Number-of-Set-Bits-in-Binary-Representation.md" >}})| Easy| O(n)| O(1)|| 66.5 %|
83
+ | 0784| Letter Case Permutation| [ Go] ({{< relref "/ChapterFour/0700~ 0799/0784.Letter-Case-Permutation.md" >}})| Medium| O(n)| O(1)|| 72.0 %|
84
+ | 0810| Chalkboard XOR Game| [ Go] ({{< relref "/ChapterFour/0800~ 0899/0810.Chalkboard-XOR-Game.md" >}})| Hard|||| 53.0 %|
85
85
| 0864| Shortest Path to Get All Keys| [ Go] ({{< relref "/ChapterFour/0800~ 0899/0864.Shortest-Path-to-Get-All-Keys.md" >}})| Hard|||| 44.3%|
86
86
| 0898| Bitwise ORs of Subarrays| [ Go] ({{< relref "/ChapterFour/0800~ 0899/0898.Bitwise-ORs-of-Subarrays.md" >}})| Medium| O(n)| O(1)|| 36.2%|
87
87
| 0980| Unique Paths III| [ Go] ({{< relref "/ChapterFour/0900~ 0999/0980.Unique-Paths-III.md" >}})| Hard|||| 79.4%|
@@ -90,18 +90,18 @@ X & ~X = 0
90
90
| 1009| Complement of Base 10 Integer| [ Go] ({{< relref "/ChapterFour/1000~ 1099/1009.Complement-of-Base-10-Integer.md" >}})| Easy|||| 62.3%|
91
91
| 1178| Number of Valid Words for Each Puzzle| [ Go] ({{< relref "/ChapterFour/1100~ 1199/1178.Number-of-Valid-Words-for-Each-Puzzle.md" >}})| Hard|||| 46.9%|
92
92
| 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%|
93
- | 1310| XOR Queries of a Subarray| [ Go] ({{< relref "/ChapterFour/1300~ 1399/1310.XOR-Queries-of-a-Subarray.md" >}})| Medium|||| 71.1 %|
93
+ | 1310| XOR Queries of a Subarray| [ Go] ({{< relref "/ChapterFour/1300~ 1399/1310.XOR-Queries-of-a-Subarray.md" >}})| Medium|||| 71.2 %|
94
94
| 1442| Count Triplets That Can Form Two Arrays of Equal XOR| [ Go] ({{< relref "/ChapterFour/1400~ 1499/1442.Count-Triplets-That-Can-Form-Two-Arrays-of-Equal-XOR.md" >}})| Medium|||| 74.5%|
95
95
| 1461| Check If a String Contains All Binary Codes of Size K| [ Go] ({{< relref "/ChapterFour/1400~ 1499/1461.Check-If-a-String-Contains-All-Binary-Codes-of-Size-K.md" >}})| Medium|||| 54.5%|
96
96
| 1486| XOR Operation in an Array| [ Go] ({{< relref "/ChapterFour/1400~ 1499/1486.XOR-Operation-in-an-Array.md" >}})| Easy|||| 84.2%|
97
- | 1655| Distribute Repeating Integers| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1655.Distribute-Repeating-Integers.md" >}})| Hard|||| 40.2 %|
98
- | 1659| Maximize Grid Happiness| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1659.Maximize-Grid-Happiness.md" >}})| Hard|||| 37.5 %|
97
+ | 1655| Distribute Repeating Integers| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1655.Distribute-Repeating-Integers.md" >}})| Hard|||| 40.4 %|
98
+ | 1659| Maximize Grid Happiness| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1659.Maximize-Grid-Happiness.md" >}})| Hard|||| 37.4 %|
99
99
| 1680| Concatenation of Consecutive Binary Numbers| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1680.Concatenation-of-Consecutive-Binary-Numbers.md" >}})| Medium|||| 52.6%|
100
- | 1681| Minimum Incompatibility| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1681.Minimum-Incompatibility.md" >}})| Hard|||| 37.0 %|
100
+ | 1681| Minimum Incompatibility| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1681.Minimum-Incompatibility.md" >}})| Hard|||| 36.9 %|
101
101
| 1684| Count the Number of Consistent Strings| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1684.Count-the-Number-of-Consistent-Strings.md" >}})| Easy|||| 81.8%|
102
102
| 1720| Decode XORed Array| [ Go] ({{< relref "/ChapterFour/1700~ 1799/1720.Decode-XORed-Array.md" >}})| Easy|||| 85.9%|
103
- | 1734| Decode XORed Permutation| [ Go] ({{< relref "/ChapterFour/1700~ 1799/1734.Decode-XORed-Permutation.md" >}})| Medium|||| 60.2 %|
104
- | 1738| Find Kth Largest XOR Coordinate Value| [ Go] ({{< relref "/ChapterFour/1700~ 1799/1738.Find-Kth-Largest-XOR-Coordinate-Value.md" >}})| Medium|||| 62.3 %|
103
+ | 1734| Decode XORed Permutation| [ Go] ({{< relref "/ChapterFour/1700~ 1799/1734.Decode-XORed-Permutation.md" >}})| Medium|||| 60.5 %|
104
+ | 1738| Find Kth Largest XOR Coordinate Value| [ Go] ({{< relref "/ChapterFour/1700~ 1799/1738.Find-Kth-Largest-XOR-Coordinate-Value.md" >}})| Medium|||| 62.2 %|
105
105
| 1763| Longest Nice Substring| [ Go] ({{< relref "/ChapterFour/1700~ 1799/1763.Longest-Nice-Substring.md" >}})| Easy|||| 62.0%|
106
106
| ------------| -------------------------------------------------------| -------| ----------------| ---------------| -------------| -------------| -------------|
107
107
0 commit comments