Files
hello-algo/ja/docs/chapter_tree/binary_tree.assets/perfect_binary_tree.a11y.json
T
Yudong Jin 53611a0ae9 Add screen-reader figure descriptions for English, Japanese, Korean, and Russian (#2043)
* Translate screen-reader figure descriptions into four book languages

* Clarify the spoken exponent in the time-complexity table

* Polish translated figure explanations and spoken math after full-book review
2026-11-18 16:23:32 +08:00

19 lines
1.3 KiB
JSON

{
"schema_version": 2,
"title": "パーフェクト二分木:すべての層が埋まっている木",
"summary": "パーフェクト二分木では、すべての層が埋まり、葉はすべて最下層にあります。",
"context": [],
"description": [
"左の木は 4 層で、ノードには値が書かれていません。層が 1 つ下がるごとにノード数が倍になります。第 1 層は根 1 個、第 2 層は 2 個、第 3 層は 4 個、第 4 層は葉 8 個です。木の下の灰色の枠には「すべてのレベルがノードで埋まっている」とあります。",
"内部ノードにはすべて左の子と右の子があり、8 個の葉はすべて最下層の第 4 層に並んでいます。右の見出しは「パーフェクト二分木」で、英語の「perfect binary tree」が併記されています。"
],
"frames": [
{
"id": "source-92",
"book_path": "chapter_tree/binary_tree.assets/perfect_binary_tree.png",
"title": "パーフェクト二分木:すべての層が埋まっている木",
"explanation": "図では 4 層、15 個のノードがあり、辺の数で測った高さは 3 です。一般に、高さ h のパーフェクト二分木のノード数は 2 の (h+1) 乗から 1 を引いた数です。"
}
]
}