Skip to content

Commit dbfa9d3

Browse files
committed
added another algorithm
1 parent 7edc96b commit dbfa9d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/thealgorithms/slidingwindow/LongestSubstringWithoutRepeatingCharacters.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.thealgorithms.slidingwindow;
22
import java.util.HashSet;
33

4-
54
/**
65
* The Longest Substring Without Repeating Characters algorithm finds the length of
76
* the longest substring without repeating characters in a given string.

src/test/java/com/thealgorithms/slidingwindow/LongestSubstringWithoutRepeatingCharactersTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package com.thealgorithms.slidingwindow;
22

3-
import org.junit.jupiter.api.Test;
43
import static org.junit.jupiter.api.Assertions.assertEquals;
54

5+
import org.junit.jupiter.api.Test;
6+
67
/**
78
* Unit tests for the LongestSubstringWithoutRepeatingCharacters class.
89
*

0 commit comments

Comments
 (0)