We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b501601 commit f8e834bCopy full SHA for f8e834b
src/main/java/g0201_0300/s0208_implement_trie_prefix_tree/Trie.java
@@ -66,3 +66,11 @@ public boolean startsWith(String prefix) {
66
return startWith;
67
}
68
69
+
70
+/*
71
+ * Your Trie object will be instantiated and called as such:
72
+ * Trie obj = new Trie();
73
+ * obj.insert(word);
74
+ * boolean param_2 = obj.search(word);
75
+ * boolean param_3 = obj.startsWith(prefix);
76
+ */
0 commit comments