Skip to content

Commit 37ed974

Browse files
committed
Added 1814. Count Nice Pairs in an Array
1 parent 177876b commit 37ed974

File tree

1 file changed

+74
-11
lines changed

1 file changed

+74
-11
lines changed

README.md

Lines changed: 74 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@
2727
<th>Solution</th>
2828
<th>Topics</th>
2929
</tr>
30+
<tr>
31+
<td align="center">September 13th</td>
32+
<td>1814. <a href="https://leetcode.com/problems/count-nice-pairs-in-an-array/">Count Nice Pairs in an Array</a></td>
33+
<td align="center">$\text{\color{Dandelion}Medium}$</td>
34+
<td align="center">
35+
<a href="https://github.com/cheehwatang/leetcode-java/blob/main/solutions/1814.%20Count%20Nice%20Pairs%20in%20an%20Array/CountNicePairsInAnArray.java">Counting & Hash Table</a>
36+
</td>
37+
<td align="center">
38+
<a href="#array">Array</a>,
39+
<a href="#counting">Counting</a>,
40+
<a href="#hash-table">Hash Table</a>,
41+
<a href="#math">Math</a>
42+
</td>
43+
</tr>
3044
<tr>
3145
<td align="center">September 12th</td>
3246
<td>2006. <a href="https://leetcode.com/problems/count-number-of-pairs-with-absolute-difference-k/">Count Number of Pairs With Absolute Difference K</a></td>
@@ -75,17 +89,6 @@
7589
<a href="#simulation">Simulation</a>
7690
</td>
7791
</tr>
78-
<tr>
79-
<td align="center">September 8th</td>
80-
<td>1155. <a href="https://leetcode.com/problems/number-of-dice-rolls-with-target-sum/">Number of Dice Rolls With Target Sum</a></td>
81-
<td align="center">$\text{\color{Dandelion}Medium}$</td>
82-
<td align="center">
83-
<a href="https://github.com/cheehwatang/leetcode-java/blob/main/solutions/1155.%20Number%20of%20Dice%20Rolls%20With%20Target%20Sum/NumberOfDiceRollsWithTargetSum_Memoization.java">Dynamic Programming - Memoization</a>
84-
</td>
85-
<td align="center">
86-
<a href="#dynamic-programming">Dynamic Programming</a>
87-
</td>
88-
</tr>
8992
</table>
9093
</br>
9194
<hr>
@@ -1451,6 +1454,21 @@
14511454
</td>
14521455
<td></td>
14531456
</tr>
1457+
<tr>
1458+
<td align="center">1814</td>
1459+
<td><a href="https://leetcode.com/problems/count-nice-pairs-in-an-array/">Count Nice Pairs in an Array</a></td>
1460+
<td align="center">
1461+
<a href="https://github.com/cheehwatang/leetcode-java/blob/main/solutions/1814.%20Count%20Nice%20Pairs%20in%20an%20Array/CountNicePairsInAnArray.java">Java</a>
1462+
</td>
1463+
<td align="center">$\text{\color{Dandelion}Medium}$</td>
1464+
<td align="center">
1465+
<a href="#array">Array</a>,
1466+
<a href="#counting">Counting</a>,
1467+
<a href="#hash-table">Hash Table</a>,
1468+
<a href="#math">Math</a>
1469+
</td>
1470+
<td></td>
1471+
</tr>
14541472
<tr>
14551473
<td align="center">1833</td>
14561474
<td><a href="https://leetcode.com/problems/maximum-ice-cream-bars/">Maximum Ice Cream Bars</a></td>
@@ -3377,6 +3395,21 @@
33773395
</td>
33783396
<td></td>
33793397
</tr>
3398+
<tr>
3399+
<td align="center">1814</td>
3400+
<td><a href="https://leetcode.com/problems/count-nice-pairs-in-an-array/">Count Nice Pairs in an Array</a></td>
3401+
<td align="center">
3402+
<a href="https://github.com/cheehwatang/leetcode-java/blob/main/solutions/1814.%20Count%20Nice%20Pairs%20in%20an%20Array/CountNicePairsInAnArray.java">Java</a>
3403+
</td>
3404+
<td align="center">$\text{\color{Dandelion}Medium}$</td>
3405+
<td align="center">
3406+
<a href="#array">Array</a>,
3407+
<a href="#counting">Counting</a>,
3408+
<a href="#hash-table">Hash Table</a>,
3409+
<a href="#math">Math</a>
3410+
</td>
3411+
<td></td>
3412+
</tr>
33803413
<tr>
33813414
<td align="center">2006</td>
33823415
<td><a href="https://leetcode.com/problems/count-number-of-pairs-with-absolute-difference-k/">Count Number of Pairs With Absolute Difference K</a></td>
@@ -5515,6 +5548,21 @@
55155548
</td>
55165549
<td></td>
55175550
</tr>
5551+
<tr>
5552+
<td align="center">1814</td>
5553+
<td><a href="https://leetcode.com/problems/count-nice-pairs-in-an-array/">Count Nice Pairs in an Array</a></td>
5554+
<td align="center">
5555+
<a href="https://github.com/cheehwatang/leetcode-java/blob/main/solutions/1814.%20Count%20Nice%20Pairs%20in%20an%20Array/CountNicePairsInAnArray.java">Java</a>
5556+
</td>
5557+
<td align="center">$\text{\color{Dandelion}Medium}$</td>
5558+
<td align="center">
5559+
<a href="#array">Array</a>,
5560+
<a href="#counting">Counting</a>,
5561+
<a href="#hash-table">Hash Table</a>,
5562+
<a href="#math">Math</a>
5563+
</td>
5564+
<td></td>
5565+
</tr>
55185566
<tr>
55195567
<td align="center">1832</td>
55205568
<td><a href="https://leetcode.com/problems/check-if-the-sentence-is-pangram/">Check if the Sentence is Pangram</a></td>
@@ -6459,6 +6507,21 @@
64596507
<a href="https://github.com/cheehwatang/leetcode-java/blob/main/solutions/1680.%20Concatenation%20of%20Consecutive%20Binary%20Numbers/ConcatenationOfConsecutiveBinaryNumbers_BitManipulation.java"><em>Bit Manipulation</em></a>
64606508
</td>
64616509
</tr>
6510+
<tr>
6511+
<td align="center">1814</td>
6512+
<td><a href="https://leetcode.com/problems/count-nice-pairs-in-an-array/">Count Nice Pairs in an Array</a></td>
6513+
<td align="center">
6514+
<a href="https://github.com/cheehwatang/leetcode-java/blob/main/solutions/1814.%20Count%20Nice%20Pairs%20in%20an%20Array/CountNicePairsInAnArray.java">Java</a>
6515+
</td>
6516+
<td align="center">$\text{\color{Dandelion}Medium}$</td>
6517+
<td align="center">
6518+
<a href="#array">Array</a>,
6519+
<a href="#counting">Counting</a>,
6520+
<a href="#hash-table">Hash Table</a>,
6521+
<a href="#math">Math</a>
6522+
</td>
6523+
<td></td>
6524+
</tr>
64626525
<tr>
64636526
<td align="center">1979</td>
64646527
<td><a href="https://leetcode.com/problems/find-greatest-common-divisor-of-array/">Find Greatest Common Divisor of Array</a></td>

0 commit comments

Comments
 (0)