Last active
June 11, 2020 08:21
-
-
Save CodHeK/54da6a41897058b85bcfeef586c3ce75 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.trie = { | |
isLeaf: false, | |
children: { | |
'a': { | |
isLeaf: false, | |
children: { | |
'n': { | |
isLeaf: false, | |
children: { | |
't': { | |
isLeaf: true, | |
children: {} | |
}, | |
'd': { | |
isLeaf: true, | |
children: {} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment