Skip to content

Commit

Permalink
trie clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
faniabdullah committed Nov 17, 2021
1 parent fe6c7a4 commit 8977871
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/data_structure/trie/Trie.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package data_structure.trie

class Trie() {
/** Initialize your data structure here. */

class TrieNode {
val children = Array<TrieNode?>(26) { null }
var isWord = false
Expand Down

0 comments on commit 8977871

Please sign in to comment.