Skip to content

Commit a77095d

Browse files
committed
feat: add CountDistinctElementsInWindow
1 parent 70f1cd7 commit a77095d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class CountDistinctElementsInWindowTest {
99

1010
@Test
1111
public void testBasicCase() {
12-
assertArrayEquals(new int[]{3, 2, 2, 2},
12+
assertArrayEquals(new int[]{3, 2, 2},
1313
CountDistinctElementsInWindow.countDistinct(new int[]{1, 2, 3, 2, 3}, 3));
1414
}
1515

0 commit comments

Comments
 (0)