Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit03d562f

Browse files
correct 1481
1 parentdf2affe commit03d562f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ _If you like this project, please leave me a star._ ★
99
| # | Title | Solutions | Video | Difficulty | Tag
1010
|-----|----------------|---------------|--------|-------------|-------------
1111
|1486|[XOR Operation in an Array](https://leetcode.com/problems/xor-operation-in-an-array/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_1486.java)||Medium|Array, Bit Manipulation|
12-
|5454|[Least Number of Unique Integers after K Removals](https://leetcode.com/problems/least-number-of-unique-integers-after-k-removals/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_5454.java)||Medium|Array, Sort|
12+
|1481|[Least Number of Unique Integers after K Removals](https://leetcode.com/problems/least-number-of-unique-integers-after-k-removals/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_1481.java)||Medium|Array, Sort|
1313
|5453|[Running Sum of 1d Array](https://leetcode.com/problems/running-sum-of-1d-array/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_5453.java)||Easy|Array|
1414
|1476|[Subrectangle Queries](https://leetcode.com/problems/subrectangle-queries/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_1476.java)||Medium|Array|
1515
|1475|[Final Prices With a Special Discount in a Shop](https://leetcode.com/problems/final-prices-with-a-special-discount-in-a-shop/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_1475.java)||Easy|Array|

‎src/main/java/com/fishercoder/solutions/_5454.javarenamed to‎src/main/java/com/fishercoder/solutions/_1481.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
importjava.util.LinkedHashMap;
55
importjava.util.Map;
66

7-
publicclass_5454 {
7+
publicclass_1481 {
88
publicstaticclassSolution1 {
99
publicintfindLeastNumOfUniqueInts(int[]arr,intk) {
1010
Map<Integer,Integer>unSortedMap =newHashMap<>();

‎src/test/java/com/fishercoder/_5454Test.javarenamed to‎src/test/java/com/fishercoder/_1481Test.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
packagecom.fishercoder;
22

3-
importcom.fishercoder.solutions._5454;
3+
importcom.fishercoder.solutions._1481;
44
importorg.junit.BeforeClass;
55
importorg.junit.Test;
66

77
importstaticjunit.framework.TestCase.assertEquals;
88

9-
publicclass_5454Test {
10-
privatestatic_5454.Solution1solution1;
9+
publicclass_1481Test {
10+
privatestatic_1481.Solution1solution1;
1111
privatestaticint[]arr;
1212

1313
@BeforeClass
1414
publicstaticvoidsetup() {
15-
solution1 =new_5454.Solution1();
15+
solution1 =new_1481.Solution1();
1616
}
1717

1818
@Test

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp