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

Commit5f7dca0

Browse files
rename
1 parent0fa3e9a commit5f7dca0

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
@@ -137,7 +137,7 @@ Your ideas/fixes/algorithms are more than welcome!
137137
|485|[Max Consecutive Ones](https://leetcode.com/problems/max-consecutive-ones/)|[Solution](../master/src/main/java/com/fishercoder/solutions/MaxConsecutiveOnes.java) | O(n) |O(1) | Easy| Array
138138
|484|[Find Permutation](https://leetcode.com/problems/find-permutation/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_484.java) | O(n) |O(1) | Medium | Array, String, Greedy
139139
|483|[Smallest Good Base](https://leetcode.com/problems/smallest-good-base/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_483.java) | O(logn) |O(1) | Hard | Binary Search, Math
140-
|482|[License Key Formatting](https://leetcode.com/problems/license-key-formatting/)|[Solution](../master/src/main/java/com/fishercoder/solutions/LicenseKeyFormatting.java)| O(n)|O(n)| Medium|
140+
|482|[License Key Formatting](https://leetcode.com/problems/license-key-formatting/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_482.java)| O(n)|O(n)| Medium|
141141
|481|[Magical String](https://leetcode.com/problems/magical-string/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_481.java)| O(?)|O(?)| Medium|
142142
|480|[Sliding Window Median](https://leetcode.com/problems/sliding-window-median/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_480.java) | O(nlogk) |O(k) | Hard| Heap
143143
|479|[Largest Palindrome Product](https://leetcode.com/problems/largest-palindrome-product/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_479.java)| O(n)|O(1)| Easy|

‎src/main/java/com/fishercoder/solutions/LicenseKeyFormatting.javarenamed to‎src/main/java/com/fishercoder/solutions/_482.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ String S consists only of alphanumerical characters (a-z and/or A-Z and/or 0-9)
3030
String S is non-empty.
3131
3232
*/
33-
publicclassLicenseKeyFormatting {
33+
publicclass_482 {
3434

3535
publicStringlicenseKeyFormatting(StringS,intK) {
3636
StringBuilderstringBuilder =newStringBuilder();

‎src/test/java/com/fishercoder/LicenseKeyFormattingTest.javarenamed to‎src/test/java/com/fishercoder/_482Test.java

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

3-
importcom.fishercoder.solutions.LicenseKeyFormatting;
3+
importcom.fishercoder.solutions._482;
44
importorg.junit.Before;
55
importorg.junit.BeforeClass;
66
importorg.junit.Test;
77

88
importstaticjunit.framework.Assert.assertEquals;
99

10-
publicclassLicenseKeyFormattingTest {
11-
privatestaticLicenseKeyFormattingtest;
10+
publicclass_482Test {
11+
privatestatic_482test;
1212
privatestaticStringexpected;
1313
privatestaticStringactual;
1414
privatestaticStringS;
1515
privatestaticintk;
1616

1717
@BeforeClass
1818
publicstaticvoidsetup(){
19-
test =newLicenseKeyFormatting();
19+
test =new_482();
2020
}
2121

2222
@Before

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp