We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f36b05 commit 698be5dCopy full SHA for 698be5d
src/main/java/com/thealgorithms/datastructures/trees/Trie.java
@@ -10,7 +10,7 @@ class TrieNode {
10
HashMap<Character, TrieNode> child;
11
boolean end;
12
13
- public TrieNode(char value) {
+ TrieNode(char value) {
14
this.value = value;
15
this.child = new HashMap<>();
16
this.end = false;
src/test/java/com/thealgorithms/datastructures/trees/TrieTest.java
@@ -1,6 +1,8 @@
1
package com.thealgorithms.datastructures.trees;
2
3
-import static org.junit.jupiter.api.Assertions.*;
+import static org.junit.jupiter.api.Assertions.assertEquals;
4
+import static org.junit.jupiter.api.Assertions.assertTrue;
5
+import static org.junit.jupiter.api.Assertions.assertFalse;
6
7
import java.util.List;
8
import org.junit.jupiter.api.Test;
0 commit comments