Skip to content

Commit 6c24d27

Browse files
Move methods from others to correct packages (#6475)
refactor: Move methods from `others` package to their respective packages
1 parent 9f0dd37 commit 6c24d27

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/main/java/com/thealgorithms/others/MaximumSlidingWindow.java renamed to src/main/java/com/thealgorithms/slidingwindow/MaximumSlidingWindow.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.thealgorithms.others;
1+
package com.thealgorithms.slidingwindow;
22

33
import java.util.ArrayDeque;
44
import java.util.Deque;

src/main/java/com/thealgorithms/others/RemoveDuplicateFromString.java renamed to src/main/java/com/thealgorithms/strings/RemoveDuplicateFromString.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.thealgorithms.others;
1+
package com.thealgorithms.strings;
22

33
/**
44
* @author Varun Upadhyay (https://github.com/varunu28)

src/test/java/com/thealgorithms/others/MaximumSlidingWindowTest.java renamed to src/test/java/com/thealgorithms/slidingwindow/MaximumSlidingWindowTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.thealgorithms.others;
1+
package com.thealgorithms.slidingwindow;
22

33
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
44

src/test/java/com/thealgorithms/others/RemoveDuplicateFromStringTest.java renamed to src/test/java/com/thealgorithms/strings/RemoveDuplicateFromStringTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.thealgorithms.others;
1+
package com.thealgorithms.strings;
22

33
import static org.junit.jupiter.api.Assertions.assertEquals;
44
import static org.junit.jupiter.api.Assertions.assertNull;

0 commit comments

Comments
 (0)