<?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>Sqrt Tree</anon>
    <anon>Disjoint Sparse Table</anon>
    <anon>モノイド</anon>
  </categories>
  <description>1. 概要 本記事では，Sqrt Tree について解説します． Sqrt Tree は列の平方分割を再帰的に行うことでできる木構造です．特に静的なモノイド列に対する区間積クエリを高速に処理できます．具体的には，列の長さを $N$ とするとき，事前計算 $\mathrm{O}(N\log \log N)$ 時間のもと，クエリあたり $\mathrm{O}(1)$ 時間で区間積を処理することができます． 区間積クエリの解法としてはセグメント木や Disjoint Sparse Table（以下 DST とも略記します）を用いる方法も有名ですが，クエリの個数 $Q$ が $N$ に近い状況であれば…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfo.atcoder.jp%2Fentry%2Falgorithm_lectures%2Fsqrt_tree&quot; title=&quot;Sqrt Tree - 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:10:06</published>
  <title>Sqrt Tree</title>
  <type>rich</type>
  <url>https://info.atcoder.jp/entry/algorithm_lectures/sqrt_tree</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
