Skip to content

Commit d8ad800

Browse files
committed
Improved task 211.
1 parent 9c81c79 commit d8ad800

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/g0201_0300/s0211_design_add_and_search_words_data_structure/WordDictionary.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
// #Medium #String #Depth_First_Search #Design #Trie
44
// #2023_01_06_Time_308_ms_(99.46%)_Space_284.7_MB_(13.25%)
55

6-
@SuppressWarnings("java:S1186")
76
public class WordDictionary {
87

9-
public WordDictionary() {}
8+
public WordDictionary() {
9+
// empty constructor
10+
}
1011

1112
private static class Node {
1213
Node[] kids = new Node[26];

0 commit comments

Comments
 (0)