ä»ä½ãããã®ãã®ã§ãç´ æ§(æååç)ãæ ¼ç´ããã®ã« Trie ã使ã£ã¦ããã®ã ãã©ã50ä¸ä»¶ãè¶ ãããããããã¡ã¢ãªã«è¼ããªããªã£ã¦ãã¦ã ã¾ã dict ã使ã£ããã¡ããã¡ããã¤ã¼ããªå®è£ ã ã£ãã®ã§ããããããã¡ããªãã¨ã¯æã£ã¦ãããã ãã©(è¦ç¬)ã ã¨ããããã§ããããããã£ã¨çã¹ãã¼ã¹ï¼ãã£ã¨é«éã ããã¨æå¾ ã㦠Double Array ã Python ã§å®è£ ãã¦ã¿ãã åèã«ããã®ã¯ WEB+DB Press vol. 64 ã®å¾³æ°¸ããã®è¨äºã ç¾æç¹ã§ã®å®è£ ããã¡ãã https://github.com/shuyo/iir/blob/master/trie/da.py ã½ã¼ãæ¸ã¿ã®ããã¹ãåãä¸ããã¨ãDouble Array ãæ§ç¯ã get ãå¼ã³åºãã¨ãæåã«ä¸ããããã¹ãåã®ä¸ã§ã®ãã¼æååã®ã¤ã³ããã¯ã¹ãè¿ãã ã·ã³ãã«æ©è½ã trie = da.DoubleAr
{{#tags}}- {{label}}
{{/tags}}