<?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>Disjoint Sparse Table</anon>
    <anon>区間クエリ</anon>
    <anon>モノイド</anon>
  </categories>
  <description>1. 概要 本記事では，静的な列に対する区間クエリを高速に処理するデータ構造である Disjoint Sparse Table （DST と略記することもあります）を解説します． Disjoint Sparse Table は，長さ $N$ の列に対して事前計算 $\mathrm{O}(N\log N)$ 時間を行うことで，モノイドに対する区間積クエリをクエリあたり $\mathrm{O}(1)$ 時間で処理するデータ構造です． 同様の計算量はスパーステーブルでも達成できましたが，スパーステーブルが適用できるのは二項演算がべき等な場合（$\min$，$\max$，$\gcd$ など）に限られて…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfo.atcoder.jp%2Fentry%2Falgorithm_lectures%2Fdisjoint_sparse_table&quot; title=&quot;Disjoint Sparse Table - 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:16:31</published>
  <title>Disjoint Sparse Table</title>
  <type>rich</type>
  <url>https://info.atcoder.jp/entry/algorithm_lectures/disjoint_sparse_table</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
