(訳注ï¼2016/9/28ãé ãã¾ãããã£ã¼ãããã¯ãå ã«è¨äºãä¿®æ£ãããã¾ããã) ã¯ããã« æ¬ç¨¿ã§ã¯ãé«éã§æ±ç¨çãªããã·ã¥ãã¼ãã«ãä½ãããã«è¡ããè¨è¨ã«ã¤ãã¦ã®å¤ãã®ææ決å®äºé ãç´¹ä»ãã¾ããæçµçã«ãç§ã® emilib::HashSet ã¨C++11ã® std::unordered_set ã®éã®ãã³ããã¼ã¯ãåºæ¥ä¸ããã¾ããããããããã·ã¥ãã¼ãã«ã«èå³ããã£ã¦ãèªåã§è¨è¨ããããªãï¼ã©ã®ããã°ã©ãã³ã°è¨èªãã«é¢ãããï¼ãæ¬ç¨¿ããã³ãã«ãªãããããã¾ããã ããã·ã¥ãã¼ãã« ã¯ãç´ æ´ãããçºæã§ãã ãªããè¨ç®éO(1) ( O(âN)æé )ã§ãæ¿å ¥ãåé¤ãæ¤ç´¢ãè¡ããã¨ãã§ãã¾ãããªããè¨ç®éã¨ã¯ãããã·ã¥ãã¼ãã«ã®è¨ç®ã«å¹³åã§O(1)ã®è¨ç®éãããããã¨ãæå³ãã¾ãããæã ããããããå¤ãã®æéããããå ´åãããã¾ããå ·ä½çã«ã¯ãããã·ã¥ãã¼ãã«ã«ç©ºãããªãå ´åã§ãæ¿å ¥ã®
{{#tags}}- {{label}}
{{/tags}}