【leetcode】Implement Trie (Prefix Tree) Posted on 2020-08-06 Edited on 2022-01-15 In Data structure & Algorithm Views: Problem:Implement a trie with insert, search, and startsWith methods. Example: 12345678Trie trie = new Trie();trie.insert("apple");trie.search("apple"); // returns truetrie.search("app"); // returns falsetrie.startsWith("app"); // returns truetrie.insert("app"); trie.search("app"); // returns true Methods & Solutions: Read more »
解决搭建博客中tags和categories页面404 Posted on 2020-08-05 Edited on 2022-01-15 In hexo Views: 问题:使用 hexo + next-theme + Github Page搭建博客在收尾阶段碰到一点小问题,菜单栏的Tags和 Categories 链接无法正常显示,而是直接跳转到404页面。 解决方法: Read more »