<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atcoder</author_name>
  <author_url>https://blog.hatena.ne.jp/atcoder/</author_url>
  <blog_title>AtCoderInfo</blog_title>
  <blog_url>https://info.atcoder.jp/</blog_url>
  <categories>
    <anon>データ構造</anon>
    <anon>永続データ構造</anon>
    <anon>セグメント木</anon>
    <anon>モノイド</anon>
    <anon>区間クエリ</anon>
  </categories>
  <description>1. 概要 通常のセグメント木は，更新を行うたびに古い状態を破棄し，常に最新のバージョンだけを保持する構造になっています．それに対して 永続セグメント木 は，過去のすべてのバージョンに対してアクセスや更新が可能なセグメント木です． 永続セグメント木は，永続データ構造 の入門として理解しやすいだけでなく，競技プログラミングにおいても幅広い応用が可能な強力なデータ構造です． 本記事では，永続セグメント木の基本構造を解説し，その応用方法を実際の出題例をもとに紹介します． 2. 前提知識 本記事を理解するためには，セグメント木 および 遅延セグメント木 に関する基礎的な知識が必要です． 3. 永続デー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfo.atcoder.jp%2Fentry%2Falgorithm_lectures%2Fpersistent_segment_tree&quot; title=&quot;永続セグメント木 - AtCoderInfo&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>https://cdn.user.blog.st-hatena.com/default_entry_og_image/158934417/1702097020779738</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-04-10 14:11:29</published>
  <title>永続セグメント木</title>
  <type>rich</type>
  <url>https://info.atcoder.jp/entry/algorithm_lectures/persistent_segment_tree</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
