Skip to content

Commit d9e1434

Browse files
committed
Fix
1 parent 9ac9b91 commit d9e1434

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/thealgorithms/backtracking/WordPatternMatcher.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
* Input String: "JavaPythonPythonJava"
2020
* Output: false
2121
*/
22-
public class WordPatternMatcher {
22+
public final class WordPatternMatcher {
23+
private WordPatternMatcher() {
24+
}
2325

2426
/**
2527
* Determines if the given pattern matches the input string using backtracking.

0 commit comments

Comments
 (0)