ãã®ç« ã§ã¯ãªã¹ãããä¸æ©é²ã¿ãæ°¸ç¶ãã¼ã¿ã¨ãã¦å©ç¨ã§ããæ¨æ§é ã説æãã¾ããæ¨æ§é ã®ä¾ã¨ãã¦èµ¤é»æ¨ã¨ãã平衡äºåæ¢ç´¢æ¨ãåãä¸ããããã·ã¥ãã¼ãã«ï¼ä»¥ä¸ãããã·ã¥ã¨ç¥è¨ï¼ãå®è£ ãã¾ãã ããã·ã¥ãå®ç¾ã§ããæ¨æ§é é¢æ°ããã°ã©ãã³ã°ã¨ï¼Cè¨èªãªã©ã§ä½¿ãããï¼é åã¯ç¸æ§ãè¯ãããã¾ããããªããªããé åãæ°¸ç¶ãã¼ã¿ã¨ãã¦ä½¿ããã¨ããã¨ãä¸é¨ãå¤æ´ããã ãã§ãé åå ¨ä½ãã³ãã¼ããªããã°ãªããªãããã§ããã¨ãããã¨ã¯ãé¢æ°ããã°ã©ãã³ã°ã§ã¯ãå¿ è¦ã«å¿ãã¦å¹³åO(1)[1]ã§è¦ç´ ã追å ãããæ¤ç´¢ãããã§ããããã·ã¥ããªããã¨ãæå³ãã¾ã[2]â ã ãã¡ããããã¼ã¨å¤ã®çµãè¦ç´ ã«æã¤ãªã¹ãï¼é£æ³ãªã¹ãï¼åã¯[(k,v)]ï¼ã使ãã°ãè¦ç´ ã®è¿½å ãæ¤ç´¢ã¯å¯è½ã§ãããå¹çãO(N)ã¨ãªãããããããã¾ãããããã§ãé¢æ°ããã°ã©ãã³ã°ã§ã¯ããã·ã¥ã®å®ç¾ã«O(log N)ã®å¹³è¡¡æ¨ã使ãã¾ãããã®ç« ã§ã¯ã赤é»æ¨ã¨
{{#tags}}- {{label}}
{{/tags}}