Haskell ã§ã¯ãã¥ã¼ã欲ãããªã£ãã Data.Sequence ã使ãã¨è¨ããããSeq ã¯ä¸¡ç«¯ãã¥ã¼ã ããã·ã¼ã±ã³ã¹ã¨ãã¦ä½¿ãã°ãé£çµ(><)ãåå²(splitAt)ãããªããè¨ç®é㧠O(log N) ã¨ããåªããã®ã§ãããããããå é¨ãfinger treeãªã®ã§ã³ã¼ããè¤éãªã®ã¨ãè¨ç®éãããªããããªã¨ãããçã«å·ã§ããã ãã£ã¨åç´ã§ãææªè¨ç®éãä¿è¨¼ãã(両端ã§ãªã)ãã¥ã¼ãæ¨æºã§æä¾ããã¦ãããæ°ãããããã®åè£ã«ã¯ããªã¢ã«ã¿ã¤ã ãã¥ã¼ããããã©ããã¦æ¨æºã§ãã¥ã¼ãæä¾ãããªãã®ã ããï¼ åãªãã®çãã¯ãéè¦ããªããã ã åé¡ã解ãã¨ãã«ã¹ã¿ãã¯ã¯ãã使ããããã¥ã¼ãå¿ è¦ãªåé¡ã¯ãããªã«æãã¤ããªããåã¯ãããã¯ã¼ã¯å±ãªã®ã§ããã¡ããã«ã¼ã¿ã«ã¯ãã¥ã¼ãå¿ è¦ãªãã¨ã¯ç¥ã£ã¦ãããããã以å¤ã§æåã©ããã¨è¨ãã°å¹ åªå æ¢ç´¢ãããã ã å¹ åªå æ¢ç´¢ ã§ããHaskellã§ã¯ãã¥ã¼
{{#tags}}- {{label}}
{{/tags}}