<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sosodemonai</author_name>
  <author_url>https://blog.hatena.ne.jp/sosodemonai/</author_url>
  <blog_title>Neunomizuの日記</blog_title>
  <blog_url>https://propyon.hateblo.jp/</blog_url>
  <categories>
    <anon>leetcode</anon>
  </categories>
  <description>tags: leetcode 旅行で東京を離れていました．何もしていませんでした．何もしないと本当に何がしたいか自ずと分かってくるので良いかも知れません． 問題 Explore Problems アイデア Trieとは文字列を高速に検索するためのN-aryの木構造のことです．応用先は自動補完，スペルチェッカーなどです． 実装するのは以下のメソッドです． insert(word): wordをTrieに挿入する search(word): wordがTrieに入っているか真偽値を返す startsWith(prefix): prefixで始まる語がTrieに入っているか真偽値を返す 注意点として…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpropyon.hateblo.jp%2Fentry%2F2020%2F03%2F03%2F222839&quot; title=&quot;# LeetCode Medium 208. Implement Trie (Prefix Tree) - Neunomizuの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-03 22:28:39</published>
  <title># LeetCode Medium 208. Implement Trie (Prefix Tree)</title>
  <type>rich</type>
  <url>https://propyon.hateblo.jp/entry/2020/03/03/222839</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
