Skip to content

Commit d792409

Browse files
authored
Rename and relocate trie autocomplete implementation (#7459)
refactor: rename trie autocomplete implementation
1 parent ae861d6 commit d792409

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pmd-exclude.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ com.thealgorithms.others.MosAlgorithm=UselessMainMethod
8686
com.thealgorithms.others.PageRank=UselessMainMethod,UselessParentheses
8787
com.thealgorithms.others.PerlinNoise=UselessMainMethod,UselessParentheses
8888
com.thealgorithms.others.QueueUsingTwoStacks=UselessParentheses
89-
com.thealgorithms.others.Trieac=UselessMainMethod,UselessParentheses
89+
com.thealgorithms.datastructures.trees.TrieAutocomplete=UselessMainMethod,UselessParentheses
9090
com.thealgorithms.others.Verhoeff=UnnecessaryFullyQualifiedName,UselessMainMethod
9191
com.thealgorithms.recursion.DiceThrower=UselessMainMethod
9292
com.thealgorithms.searches.HowManyTimesRotated=UselessMainMethod

src/main/java/com/thealgorithms/others/Implementing_auto_completing_features_using_trie.java renamed to src/main/java/com/thealgorithms/datastructures/trees/TrieAutocomplete.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package com.thealgorithms.others;
1+
package com.thealgorithms.datastructures.trees;
22

33
// Java Program to implement Auto-Complete
44
// Feature using Trie
5-
class Trieac {
5+
class TrieAutocomplete {
66

77
// Alphabet size (# of symbols)
88
public static final int ALPHABET_SIZE = 26;

0 commit comments

Comments
 (0)