@@ -47,42 +47,42 @@ X & ~X = 0
47
47
| 0029| Divide Two Integers| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0029.Divide-Two-Integers.md" >}})| Medium|||| 17.2%|
48
48
| 0067| Add Binary| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0067.Add-Binary.md" >}})| Easy|||| 52.4%|
49
49
| 0078| Subsets| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0078.Subsets.md" >}})| Medium| O(n^2)| O(n)| ❤️| 74.9%|
50
- | 0089| Gray Code| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0089.Gray-Code.md" >}})| Medium|||| 57.1 %|
51
- | 0090| Subsets II| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0090.Subsets-II.md" >}})| Medium|||| 55.8 %|
52
- | 0136| Single Number| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0136.Single-Number.md" >}})| Easy| O(n)| O(1)|| 70.6 %|
50
+ | 0089| Gray Code| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0089.Gray-Code.md" >}})| Medium|||| 57.2 %|
51
+ | 0090| Subsets II| [ Go] ({{< relref "/ChapterFour/0001~ 0099/0090.Subsets-II.md" >}})| Medium|||| 55.9 %|
52
+ | 0136| Single Number| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0136.Single-Number.md" >}})| Easy| O(n)| O(1)|| 70.7 %|
53
53
| 0137| Single Number II| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0137.Single-Number-II.md" >}})| Medium| O(n)| O(1)| ❤️| 58.5%|
54
- | 0187| Repeated DNA Sequences| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0187.Repeated-DNA-Sequences.md" >}})| Medium| O(n)| O(1)|| 46.9 %|
55
- | 0190| Reverse Bits| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0190.Reverse-Bits.md" >}})| Easy| O(n)| O(1)| ❤️| 53.9 %|
56
- | 0191| Number of 1 Bits| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0191.Number-of-1-Bits.md" >}})| Easy| O(n)| O(1)|| 66.5 %|
54
+ | 0187| Repeated DNA Sequences| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0187.Repeated-DNA-Sequences.md" >}})| Medium| O(n)| O(1)|| 47.0 %|
55
+ | 0190| Reverse Bits| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0190.Reverse-Bits.md" >}})| Easy| O(n)| O(1)| ❤️| 54.0 %|
56
+ | 0191| Number of 1 Bits| [ Go] ({{< relref "/ChapterFour/0100~ 0199/0191.Number-of-1-Bits.md" >}})| Easy| O(n)| O(1)|| 66.6 %|
57
57
| 0201| Bitwise AND of Numbers Range| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0201.Bitwise-AND-of-Numbers-Range.md" >}})| Medium| O(n)| O(1)| ❤️| 42.5%|
58
58
| 0231| Power of Two| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0231.Power-of-Two.md" >}})| Easy| O(1)| O(1)|| 46.0%|
59
59
| 0260| Single Number III| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0260.Single-Number-III.md" >}})| Medium| O(n)| O(1)| ❤️| 67.7%|
60
- | 0268| Missing Number| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0268.Missing-Number.md" >}})| Easy| O(n)| O(1)|| 62.5 %|
60
+ | 0268| Missing Number| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0268.Missing-Number.md" >}})| Easy| O(n)| O(1)|| 62.6 %|
61
61
| 0287| Find the Duplicate Number| [ Go] ({{< relref "/ChapterFour/0200~ 0299/0287.Find-the-Duplicate-Number.md" >}})| Medium|||| 59.1%|
62
62
| 0318| Maximum Product of Word Lengths| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0318.Maximum-Product-of-Word-Lengths.md" >}})| Medium| O(n)| O(1)|| 59.9%|
63
- | 0338| Counting Bits| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0338.Counting-Bits.md" >}})| Easy| O(n)| O(n)|| 75.7 %|
64
- | 0342| Power of Four| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0342.Power-of-Four.md" >}})| Easy| O(n)| O(1)|| 46.1 %|
63
+ | 0338| Counting Bits| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0338.Counting-Bits.md" >}})| Easy| O(n)| O(n)|| 75.8 %|
64
+ | 0342| Power of Four| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0342.Power-of-Four.md" >}})| Easy| O(n)| O(1)|| 46.2 %|
65
65
| 0371| Sum of Two Integers| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0371.Sum-of-Two-Integers.md" >}})| Medium| O(n)| O(1)|| 50.7%|
66
66
| 0389| Find the Difference| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0389.Find-the-Difference.md" >}})| Easy| O(n)| O(1)|| 59.9%|
67
67
| 0393| UTF-8 Validation| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0393.UTF-8-Validation.md" >}})| Medium| O(n)| O(1)|| 45.1%|
68
68
| 0397| Integer Replacement| [ Go] ({{< relref "/ChapterFour/0300~ 0399/0397.Integer-Replacement.md" >}})| Medium| O(n)| O(1)|| 35.2%|
69
- | 0401| Binary Watch| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0401.Binary-Watch.md" >}})| Easy| O(1)| O(1)|| 52.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)|| 46.7 %|
69
+ | 0401| Binary Watch| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0401.Binary-Watch.md" >}})| Easy| O(1)| O(1)|| 52.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)|| 46.8 %|
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.0%|
72
72
| 0461| Hamming Distance| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0461.Hamming-Distance.md" >}})| Easy| O(n)| O(1)|| 75.0%|
73
73
| 0473| Matchsticks to Square| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0473.Matchsticks-to-Square.md" >}})| Medium|||| 40.2%|
74
- | 0476| Number Complement| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0476.Number-Complement.md" >}})| Easy| O(n)| O(1)|| 67.3 %|
74
+ | 0476| Number Complement| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0476.Number-Complement.md" >}})| Easy| O(n)| O(1)|| 67.4 %|
75
75
| 0477| Total Hamming Distance| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0477.Total-Hamming-Distance.md" >}})| Medium| O(n)| O(1)|| 52.2%|
76
- | 0491| Non-decreasing Subsequences| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0491.Non-decreasing-Subsequences.md" >}})| Medium|||| 60.1 %|
76
+ | 0491| Non-decreasing Subsequences| [ Go] ({{< relref "/ChapterFour/0400~ 0499/0491.Non-decreasing-Subsequences.md" >}})| Medium|||| 60.2 %|
77
77
| 0526| Beautiful Arrangement| [ Go] ({{< relref "/ChapterFour/0500~ 0599/0526.Beautiful-Arrangement.md" >}})| Medium|||| 64.4%|
78
78
| 0638| Shopping Offers| [ Go] ({{< relref "/ChapterFour/0600~ 0699/0638.Shopping-Offers.md" >}})| Medium|||| 53.3%|
79
79
| 0645| Set Mismatch| [ Go] ({{< relref "/ChapterFour/0600~ 0699/0645.Set-Mismatch.md" >}})| Easy|||| 42.7%|
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)| ❤️| 61.6%|
81
81
| 0756| Pyramid Transition Matrix| [ Go] ({{< relref "/ChapterFour/0700~ 0799/0756.Pyramid-Transition-Matrix.md" >}})| Medium| O(n log n)| O(n)|| 52.7%|
82
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)|| 68.0%|
83
83
| 0784| Letter Case Permutation| [ Go] ({{< relref "/ChapterFour/0700~ 0799/0784.Letter-Case-Permutation.md" >}})| Medium| O(n)| O(1)|| 73.8%|
84
- | 0810| Chalkboard XOR Game| [ Go] ({{< relref "/ChapterFour/0800~ 0899/0810.Chalkboard-XOR-Game.md" >}})| Hard|||| 55.7 %|
85
- | 0864| Shortest Path to Get All Keys| [ Go] ({{< relref "/ChapterFour/0800~ 0899/0864.Shortest-Path-to-Get-All-Keys.md" >}})| Hard|||| 45.5 %|
84
+ | 0810| Chalkboard XOR Game| [ Go] ({{< relref "/ChapterFour/0800~ 0899/0810.Chalkboard-XOR-Game.md" >}})| Hard|||| 55.8 %|
85
+ | 0864| Shortest Path to Get All Keys| [ Go] ({{< relref "/ChapterFour/0800~ 0899/0864.Shortest-Path-to-Get-All-Keys.md" >}})| Hard|||| 45.6 %|
86
86
| 0898| Bitwise ORs of Subarrays| [ Go] ({{< relref "/ChapterFour/0800~ 0899/0898.Bitwise-ORs-of-Subarrays.md" >}})| Medium| O(n)| O(1)|| 37.2%|
87
87
| 0980| Unique Paths III| [ Go] ({{< relref "/ChapterFour/0900~ 0999/0980.Unique-Paths-III.md" >}})| Hard|||| 81.7%|
88
88
| 0995| Minimum Number of K Consecutive Bit Flips| [ Go] ({{< relref "/ChapterFour/0900~ 0999/0995.Minimum-Number-of-K-Consecutive-Bit-Flips.md" >}})| Hard|||| 51.2%|
@@ -94,15 +94,15 @@ X & ~X = 0
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|||| 76.1%|
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|||| 56.6%|
96
96
| 1486| XOR Operation in an Array| [ Go] ({{< relref "/ChapterFour/1400~ 1499/1486.XOR-Operation-in-an-Array.md" >}})| Easy|||| 84.6%|
97
- | 1655| Distribute Repeating Integers| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1655.Distribute-Repeating-Integers.md" >}})| Hard|||| 38.9 %|
98
- | 1659| Maximize Grid Happiness| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1659.Maximize-Grid-Happiness.md" >}})| Hard|||| 38.1 %|
97
+ | 1655| Distribute Repeating Integers| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1655.Distribute-Repeating-Integers.md" >}})| Hard|||| 39.3 %|
98
+ | 1659| Maximize Grid Happiness| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1659.Maximize-Grid-Happiness.md" >}})| Hard|||| 38.8 %|
99
99
| 1680| Concatenation of Consecutive Binary Numbers| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1680.Concatenation-of-Consecutive-Binary-Numbers.md" >}})| Medium|||| 57.0%|
100
- | 1681| Minimum Incompatibility| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1681.Minimum-Incompatibility.md" >}})| Hard|||| 37.3 %|
101
- | 1684| Count the Number of Consistent Strings| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1684.Count-the-Number-of-Consistent-Strings.md" >}})| Easy|||| 82.2 %|
100
+ | 1681| Minimum Incompatibility| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1681.Minimum-Incompatibility.md" >}})| Hard|||| 37.8 %|
101
+ | 1684| Count the Number of Consistent Strings| [ Go] ({{< relref "/ChapterFour/1600~ 1699/1684.Count-the-Number-of-Consistent-Strings.md" >}})| Easy|||| 82.3 %|
102
102
| 1720| Decode XORed Array| [ Go] ({{< relref "/ChapterFour/1700~ 1799/1720.Decode-XORed-Array.md" >}})| Easy|||| 85.8%|
103
103
| 1734| Decode XORed Permutation| [ Go] ({{< relref "/ChapterFour/1700~ 1799/1734.Decode-XORed-Permutation.md" >}})| Medium|||| 63.0%|
104
104
| 1738| Find Kth Largest XOR Coordinate Value| [ Go] ({{< relref "/ChapterFour/1700~ 1799/1738.Find-Kth-Largest-XOR-Coordinate-Value.md" >}})| Medium|||| 61.0%|
105
- | 1763| Longest Nice Substring| [ Go] ({{< relref "/ChapterFour/1700~ 1799/1763.Longest-Nice-Substring.md" >}})| Easy|||| 61.6 %|
105
+ | 1763| Longest Nice Substring| [ Go] ({{< relref "/ChapterFour/1700~ 1799/1763.Longest-Nice-Substring.md" >}})| Easy|||| 61.5 %|
106
106
| ------------| -------------------------------------------------------| -------| ----------------| ---------------| -------------| -------------| -------------|
107
107
108
108
0 commit comments