Skip to content

Commit f0e3f95

Browse files
author
sailok.chinta
committed
feat: fix linting issues
1 parent 1cc9920 commit f0e3f95

File tree

1 file changed

+3
-3
lines changed
  • src/main/java/com/thealgorithms/tries

1 file changed

+3
-3
lines changed

src/main/java/com/thealgorithms/tries/Trie.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
class TrieNode {
77
private static final int CHILDREN_NODE_COUNT = 26;
8-
8+
99
private TrieNode[] children;
1010
private char letter;
1111
private boolean end;
@@ -61,7 +61,7 @@ public Trie() {
6161
*/
6262
public void insert(String word) {
6363
TrieNode head = root;
64-
64+
6565
for (int i = 0; i < word.length(); i++) {
6666
char c = word.charAt(i);
6767

@@ -83,7 +83,7 @@ public void insert(String word) {
8383
*/
8484
public boolean search(String word) {
8585
TrieNode head = root;
86-
86+
8787
for (int i = 0; i < word.length(); i++) {
8888
char c = word.charAt(i);
8989

0 commit comments

Comments
 (0)