IT博客汇
首页
精华
技术
设计
资讯
扯淡
权利声明
登录
注册
leetcode 720. Longest Word in Dictionary - 司徒正美
司徒正美
发表于
2019-12-28 14:35:00
love
0
【摘要】使用前缀树 javascript function Node() { this.word = '' this.children = {} } class Trie { constructor() { this.root = new Node() } addWord(word) { var node
阅读全文