<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ko">
	<id>https://wiki.mathnt.net/index.php?action=history&amp;feed=atom&amp;title=%ED%8A%B8%EB%A6%AC_%EA%B5%AC%EC%A1%B0</id>
	<title>트리 구조 - 편집 역사</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mathnt.net/index.php?action=history&amp;feed=atom&amp;title=%ED%8A%B8%EB%A6%AC_%EA%B5%AC%EC%A1%B0"/>
	<link rel="alternate" type="text/html" href="https://wiki.mathnt.net/index.php?title=%ED%8A%B8%EB%A6%AC_%EA%B5%AC%EC%A1%B0&amp;action=history"/>
	<updated>2026-04-04T14:46:51Z</updated>
	<subtitle>이 문서의 편집 역사</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.mathnt.net/index.php?title=%ED%8A%B8%EB%A6%AC_%EA%B5%AC%EC%A1%B0&amp;diff=51351&amp;oldid=prev</id>
		<title>2021년 2월 17일 (수) 08:20에 Pythagoras0님의 편집</title>
		<link rel="alternate" type="text/html" href="https://wiki.mathnt.net/index.php?title=%ED%8A%B8%EB%A6%AC_%EA%B5%AC%EC%A1%B0&amp;diff=51351&amp;oldid=prev"/>
		<updated>2021-02-17T08:20:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2021년 2월 17일 (수) 08:20 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l101&quot; &gt;101번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;101번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 메타데이터 ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==메타데이터==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===위키데이터===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===위키데이터===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* ID :  [https://www.wikidata.org/wiki/Q223655 Q223655]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* ID :  [https://www.wikidata.org/wiki/Q223655 Q223655]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===Spacy 패턴 목록===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [{&amp;#039;LOWER&amp;#039;: &amp;#039;tree&amp;#039;}, {&amp;#039;LOWER&amp;#039;: &amp;#039;data&amp;#039;}, {&amp;#039;LEMMA&amp;#039;: &amp;#039;structure&amp;#039;}]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [{&amp;#039;LOWER&amp;#039;: &amp;#039;tree&amp;#039;}, {&amp;#039;LEMMA&amp;#039;: &amp;#039;structure&amp;#039;}]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [{&amp;#039;LEMMA&amp;#039;: &amp;#039;tree&amp;#039;}]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pythagoras0</name></author>
	</entry>
	<entry>
		<id>https://wiki.mathnt.net/index.php?title=%ED%8A%B8%EB%A6%AC_%EA%B5%AC%EC%A1%B0&amp;diff=47148&amp;oldid=prev</id>
		<title>Pythagoras0: /* 메타데이터 */ 새 문단</title>
		<link rel="alternate" type="text/html" href="https://wiki.mathnt.net/index.php?title=%ED%8A%B8%EB%A6%AC_%EA%B5%AC%EC%A1%B0&amp;diff=47148&amp;oldid=prev"/>
		<updated>2020-12-26T12:24:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;메타데이터: &lt;/span&gt; 새 문단&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2020년 12월 26일 (토) 12:24 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l100&quot; &gt;100번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;100번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===소스===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===소스===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== 메타데이터 ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===위키데이터===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* ID :  [https://www.wikidata.org/wiki/Q223655 Q223655]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pythagoras0</name></author>
	</entry>
	<entry>
		<id>https://wiki.mathnt.net/index.php?title=%ED%8A%B8%EB%A6%AC_%EA%B5%AC%EC%A1%B0&amp;diff=46168&amp;oldid=prev</id>
		<title>Pythagoras0: /* 노트 */ 새 문단</title>
		<link rel="alternate" type="text/html" href="https://wiki.mathnt.net/index.php?title=%ED%8A%B8%EB%A6%AC_%EA%B5%AC%EC%A1%B0&amp;diff=46168&amp;oldid=prev"/>
		<updated>2020-12-21T08:55:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;노트: &lt;/span&gt; 새 문단&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;새 문서&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== 노트 ==&lt;br /&gt;
&lt;br /&gt;
===위키데이터===&lt;br /&gt;
* ID :  [https://www.wikidata.org/wiki/Q223655 Q223655]&lt;br /&gt;
===말뭉치===&lt;br /&gt;
# The entire tree is referenced through it.&amp;lt;ref name=&amp;quot;ref_5eb8952a&amp;quot;&amp;gt;[https://www.tutorialride.com/data-structures/trees-in-data-structure.htm Trees in Data Structure]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Height of Tree Height of tree represents the height of its root node.&amp;lt;ref name=&amp;quot;ref_5eb8952a&amp;quot; /&amp;gt;&lt;br /&gt;
# Depth of Node Depth of a node represents the number of edges from the tree&amp;#039;s root node to the node.&amp;lt;ref name=&amp;quot;ref_5eb8952a&amp;quot; /&amp;gt;&lt;br /&gt;
# The above figure represents structure of a tree.&amp;lt;ref name=&amp;quot;ref_5eb8952a&amp;quot; /&amp;gt;&lt;br /&gt;
# however the difference between the real world and the computing field tree is that it is visualized as upside down and root on top of it and branch from root to tree leaves.&amp;lt;ref name=&amp;quot;ref_f44663e3&amp;quot;&amp;gt;[https://www.educba.com/types-of-trees-in-data-structure/ Types of Trees in Data Structure]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Among various real-world applications, the tree data structure is used as it can demonstrate relationships between different nodes with the parent-child hierarchy.&amp;lt;ref name=&amp;quot;ref_f44663e3&amp;quot; /&amp;gt;&lt;br /&gt;
# A tree can be shown using different user-defined or primitive types of data.&amp;lt;ref name=&amp;quot;ref_f44663e3&amp;quot; /&amp;gt;&lt;br /&gt;
# We can use arrays, classes connected lists or other kinds of data structures to implement the tree.&amp;lt;ref name=&amp;quot;ref_f44663e3&amp;quot; /&amp;gt;&lt;br /&gt;
# In tree data structure, data is stored in the form of nodes.&amp;lt;ref name=&amp;quot;ref_80a79174&amp;quot;&amp;gt;[https://tutswiki.com/data-structures-algorithms/tree-data-structure/ Tree Data Structure :: TutsWiki Beta]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# In this data structure, the arrangement of data resembles an inverted tree.&amp;lt;ref name=&amp;quot;ref_80a79174&amp;quot; /&amp;gt;&lt;br /&gt;
# Any node of a tree can have zero children or multiple children.&amp;lt;ref name=&amp;quot;ref_80a79174&amp;quot; /&amp;gt;&lt;br /&gt;
# E.g. in a binary tree any node can have minimum zero and at most two children.&amp;lt;ref name=&amp;quot;ref_80a79174&amp;quot; /&amp;gt;&lt;br /&gt;
# Now that we have studied linear data structures like stacks and queues and have some experience with recursion, we will look at a common data structure called the tree.&amp;lt;ref name=&amp;quot;ref_5569d61d&amp;quot;&amp;gt;[https://runestone.academy/runestone/books/published/pythonds/Trees/ExamplesofTrees.html 7.2. Examples of Trees — Problem Solving with Algorithms and Data Structures]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Before we begin our study of tree data structures, let’s look at a few common examples.&amp;lt;ref name=&amp;quot;ref_5569d61d&amp;quot; /&amp;gt;&lt;br /&gt;
# Notice that you can start at the top of the tree and follow a path made of circles and arrows all the way to the bottom.&amp;lt;ref name=&amp;quot;ref_5569d61d&amp;quot; /&amp;gt;&lt;br /&gt;
# At each level of the tree we might ask ourselves a question and then follow the path that agrees with our answer.&amp;lt;ref name=&amp;quot;ref_5569d61d&amp;quot; /&amp;gt;&lt;br /&gt;
# In computer science, a tree is a widely-used data structure that emulates a hierarchical tree structure with a set of linked nodes.&amp;lt;ref name=&amp;quot;ref_40e07b2f&amp;quot;&amp;gt;[https://www.cpp.edu/~ftang/courses/CS241/notes/trees.htm CS241: Data Structures &amp;amp; Algorithms II]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# the remaining nodes are partitioned into n ≥ 0 disjoint sets, T1, T2, ..., Tn, where each of these sets is a tree, known as subtree .&amp;lt;ref name=&amp;quot;ref_40e07b2f&amp;quot; /&amp;gt;&lt;br /&gt;
# And many others: binary search tree (BST), 2-3 tree, AVL tree, B-tree, Huffman tree, Red-Black tree, Game tree, Spanning tree, etc.&amp;lt;ref name=&amp;quot;ref_40e07b2f&amp;quot; /&amp;gt;&lt;br /&gt;
# : the number of steps to hop from the current node to the root node of the tree.&amp;lt;ref name=&amp;quot;ref_40e07b2f&amp;quot; /&amp;gt;&lt;br /&gt;
# MongoDB allows various ways to use tree data structures to model large hierarchical or nested data relationships.&amp;lt;ref name=&amp;quot;ref_b4bf8044&amp;quot;&amp;gt;[https://docs.mongodb.com/manual/applications/data-models-tree-structures Model Tree Structures — MongoDB Manual]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# A tree is a data structure similar to a linked list but instead of each node pointing simply to the next node in a linear fashion, each node points to a number of nodes.&amp;lt;ref name=&amp;quot;ref_fc80265c&amp;quot;&amp;gt;[https://mdcode2021.medium.com/tree-data-structure-f09b53ece2f9 Tree Data Structure]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The set of all nodes at a given depth is called the level of the tree (B, C and D are the same level).&amp;lt;ref name=&amp;quot;ref_fc80265c&amp;quot; /&amp;gt;&lt;br /&gt;
# For a given tree, depth and height returns the same value.&amp;lt;ref name=&amp;quot;ref_fc80265c&amp;quot; /&amp;gt;&lt;br /&gt;
# If every node in a tree has only one child (except leaf nodes) then we call such trees skew trees.&amp;lt;ref name=&amp;quot;ref_fc80265c&amp;quot; /&amp;gt;&lt;br /&gt;
# Why do we need a Tree?&amp;lt;ref name=&amp;quot;ref_f81afd10&amp;quot;&amp;gt;[https://www.c-sharpcorner.com/article/tree-data-structure/ Tree Data Structure]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# First, let&amp;#039;s look at an example of how tree data is stored in a linked list.&amp;lt;ref name=&amp;quot;ref_f81afd10&amp;quot; /&amp;gt;&lt;br /&gt;
# In the above image, the left image represents a Binary Tree and the Right Image represents a LinkedList arrangement of numbers.&amp;lt;ref name=&amp;quot;ref_f81afd10&amp;quot; /&amp;gt;&lt;br /&gt;
# ); preOrder(node.getLeft()); preOrder(node.getRight()); } In-Order Traversal Consider the above Binary tree as an example.&amp;lt;ref name=&amp;quot;ref_f81afd10&amp;quot; /&amp;gt;&lt;br /&gt;
# Similar to children and parent, there are many other terms which are used with a tree.&amp;lt;ref name=&amp;quot;ref_da5f4e6f&amp;quot;&amp;gt;[https://www.codesdope.com/course/data-structures-trees/ Trees : Concepts and Terminologies]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# → The topmost node of the hierarchy is called the root of the tree.&amp;lt;ref name=&amp;quot;ref_da5f4e6f&amp;quot; /&amp;gt;&lt;br /&gt;
# → Nodes which don&amp;#039;t have any child are called leaves of a tree.&amp;lt;ref name=&amp;quot;ref_da5f4e6f&amp;quot; /&amp;gt;&lt;br /&gt;
# Till now, we have an idea of what a tree is and the terminologies we use with a tree.&amp;lt;ref name=&amp;quot;ref_da5f4e6f&amp;quot; /&amp;gt;&lt;br /&gt;
# A tree is a collection of nodes connected to each other by means of “edges” which are either directed or undirected.&amp;lt;ref name=&amp;quot;ref_f055522e&amp;quot;&amp;gt;[https://www.softwaretestinghelp.com/trees-in-cpp/ Trees In C++: Basic Terminology, Traversal Techniques &amp;amp; C++ Tree Types]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Nodes of a tree are either at the same level called sister nodes or they can have a parent-child relationship.&amp;lt;ref name=&amp;quot;ref_f055522e&amp;quot; /&amp;gt;&lt;br /&gt;
# A tree usually consists of a root node and one or more subtrees.&amp;lt;ref name=&amp;quot;ref_f055522e&amp;quot; /&amp;gt;&lt;br /&gt;
# As shown in the above figure, a general tree may contain any number of subtrees.&amp;lt;ref name=&amp;quot;ref_f055522e&amp;quot; /&amp;gt;&lt;br /&gt;
# The root node may not exist (a NULL tree with no nodes in it) or have 0, 1 or 2 children in a binary tree.&amp;lt;ref name=&amp;quot;ref_91d0a94e&amp;quot;&amp;gt;[https://www.cs.auckland.ac.nz/software/AlgAnim/trees.html Data Structures and Algorithms: Trees]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# A more precise and formal definition of a complete tree is set out later.&amp;lt;ref name=&amp;quot;ref_91d0a94e&amp;quot; /&amp;gt;&lt;br /&gt;
# The binary tree data type is often used for storing data in a sorted order, to allow efficient searching — for example, a telephone directory.&amp;lt;ref name=&amp;quot;ref_433a1a17&amp;quot;&amp;gt;[https://www.futurelearn.com/info/courses/functional-programming-haskell/0/steps/27215 Grow a Tree]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Here is a tree with onecontaining value 3, and two leaves.&amp;lt;ref name=&amp;quot;ref_433a1a17&amp;quot; /&amp;gt;&lt;br /&gt;
# Notice thein line 3, which is a ‘don’t care’ value, since we discard thepayloadin eachYou can imagine how to write a very similarfunction that traverses a tree and adds up all the values inits nodes.&amp;lt;ref name=&amp;quot;ref_433a1a17&amp;quot; /&amp;gt;&lt;br /&gt;
# So far, we have studied tree traversal functions,where we go through the tree data structure and do someincremental computation at each node.&amp;lt;ref name=&amp;quot;ref_433a1a17&amp;quot; /&amp;gt;&lt;br /&gt;
# def addBallotToTree(self, tree, ballotIndex, ballot=&amp;quot;&amp;quot;): &amp;quot;&amp;quot;&amp;quot;Add one ballot to the tree.&amp;lt;ref name=&amp;quot;ref_2f322f4a&amp;quot;&amp;gt;[https://stackoverflow.com/questions/2358045/how-can-i-implement-a-tree-in-python How can I implement a tree in Python?]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The root of the tree is a dictionary that has as keys the indicies of all continuing and winning candidates.&amp;lt;ref name=&amp;quot;ref_2f322f4a&amp;quot; /&amp;gt;&lt;br /&gt;
# If candidate c is a winning candidate, then that portion of the tree is expanded to indicate the breakdown of the subsequently ranked candidates.&amp;lt;ref name=&amp;quot;ref_2f322f4a&amp;quot; /&amp;gt;&lt;br /&gt;
# Where the second ranked candidates is also a winner, then the tree is expanded to the next level.&amp;lt;ref name=&amp;quot;ref_2f322f4a&amp;quot; /&amp;gt;&lt;br /&gt;
# A tree is a very popular non-linear data structure used in a wide range of applications.&amp;lt;ref name=&amp;quot;ref_2a043fab&amp;quot;&amp;gt;[http://www.btechsmartclass.com/data_structures/tree-terminology.html Tree Terminology with examples]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# In tree data structure, every individual element is called as Node.&amp;lt;ref name=&amp;quot;ref_2a043fab&amp;quot; /&amp;gt;&lt;br /&gt;
# In a tree data structure, the first node is called as Root Node.&amp;lt;ref name=&amp;quot;ref_2a043fab&amp;quot; /&amp;gt;&lt;br /&gt;
# Every tree must have a root node.&amp;lt;ref name=&amp;quot;ref_2a043fab&amp;quot; /&amp;gt;&lt;br /&gt;
# The topmost node in the tree is called the root.&amp;lt;ref name=&amp;quot;ref_f2ddd4d1&amp;quot;&amp;gt;[https://www.studytonight.com/data-structures/introduction-to-binary-trees Binary Tree and its Types]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Every node (excluding a root) in a tree is connected by a directed edge from exactly one other node.&amp;lt;ref name=&amp;quot;ref_f2ddd4d1&amp;quot; /&amp;gt;&lt;br /&gt;
# It was observed long back that each leaf of a tree can be traced to root via a unique path.&amp;lt;ref name=&amp;quot;ref_4c1b9234&amp;quot;&amp;gt;[https://www.mygreatlearning.com/blog/understanding-trees-in-data-structures/ What is Trees in Data Structure?]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# A tree is a hierarchical data structure defined as a collection of nodes.&amp;lt;ref name=&amp;quot;ref_4c1b9234&amp;quot; /&amp;gt;&lt;br /&gt;
# The tree has one node called root.&amp;lt;ref name=&amp;quot;ref_4c1b9234&amp;quot; /&amp;gt;&lt;br /&gt;
# The tree originates from this, and hence it does not have any parent.&amp;lt;ref name=&amp;quot;ref_4c1b9234&amp;quot; /&amp;gt;&lt;br /&gt;
# In this article, we’re going to learn the binary tree data structure and its properties.&amp;lt;ref name=&amp;quot;ref_4f80ad31&amp;quot;&amp;gt;[https://www.baeldung.com/cs/binary-tree-intro Introduction to the Binary Tree Data Structure]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# A binary tree can have a maximum of nodes at level if the level of the root is zero.&amp;lt;ref name=&amp;quot;ref_4f80ad31&amp;quot; /&amp;gt;&lt;br /&gt;
# There exists a maximum of nodes in a binary tree if its height is , and the height of a leaf node is one.&amp;lt;ref name=&amp;quot;ref_4f80ad31&amp;quot; /&amp;gt;&lt;br /&gt;
# If there exist leaf nodes in a binary tree, then it has at least levels.&amp;lt;ref name=&amp;quot;ref_4f80ad31&amp;quot; /&amp;gt;&lt;br /&gt;
# Tree is a non-linear data structure which organizes data in a hierarchical structure and this is a recursive definition.&amp;lt;ref name=&amp;quot;ref_b9a26c63&amp;quot;&amp;gt;[https://www.gatevidyalay.com/tree-data-structure-tree-terminology/ Tree Data Structure]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# OR If in a graph, there is one and only one path between every pair of vertices, then graph is called as a tree.&amp;lt;ref name=&amp;quot;ref_b9a26c63&amp;quot; /&amp;gt;&lt;br /&gt;
# A Binary Tree is a non-linear data structure that is used for searching and data organization.&amp;lt;ref name=&amp;quot;ref_23856fef&amp;quot;&amp;gt;[https://www.section.io/engineering-education/binary-tree-data-structure-python/ Using the Binary Tree Data Structure in Python]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# A binary tree is comprised of nodes.&amp;lt;ref name=&amp;quot;ref_23856fef&amp;quot; /&amp;gt;&lt;br /&gt;
# A binary tree is a hierarchical data structure, a file system that is organized in the form of a tree.&amp;lt;ref name=&amp;quot;ref_23856fef&amp;quot; /&amp;gt;&lt;br /&gt;
# Since a binary tree is a non-linear data structure, there is more than one way to traverse through the tree data.&amp;lt;ref name=&amp;quot;ref_23856fef&amp;quot; /&amp;gt;&lt;br /&gt;
# Contrary to a physical tree, the root is usually depicted at the top of the structure, and the leaves are depicted at the bottom.&amp;lt;ref name=&amp;quot;ref_138e1f29&amp;quot;&amp;gt;[https://xlinux.nist.gov/dads/HTML/tree.html tree]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# The branches of the software tree are represented by straight lines.&amp;lt;ref name=&amp;quot;ref_759fb3fe&amp;quot;&amp;gt;[https://linuxhint.com/tree_data_structure_tutorial_beginners/ Tree Data Structure Tutorial for Beginners – Linux Hint]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# There is the general tree from which other trees are derived.&amp;lt;ref name=&amp;quot;ref_759fb3fe&amp;quot; /&amp;gt;&lt;br /&gt;
# Other trees are derived by introducing constraints into the general tree.&amp;lt;ref name=&amp;quot;ref_759fb3fe&amp;quot; /&amp;gt;&lt;br /&gt;
# For example, you might want a tree where not more than two branches emanate from a node; such a tree would be called a Binary Tree.&amp;lt;ref name=&amp;quot;ref_759fb3fe&amp;quot; /&amp;gt;&lt;br /&gt;
# Tree represents the nodes connected by edges.&amp;lt;ref name=&amp;quot;ref_6b5db92c&amp;quot;&amp;gt;[https://www.tutorialspoint.com/data_structures_algorithms/tree_data_structure.htm Data Structure and Algorithms]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Binary Tree is a special datastructure used for data storage purposes.&amp;lt;ref name=&amp;quot;ref_6b5db92c&amp;quot; /&amp;gt;&lt;br /&gt;
# A binary tree has a special condition that each node can have a maximum of two children.&amp;lt;ref name=&amp;quot;ref_6b5db92c&amp;quot; /&amp;gt;&lt;br /&gt;
# The node at the top of the tree is called root.&amp;lt;ref name=&amp;quot;ref_6b5db92c&amp;quot; /&amp;gt;&lt;br /&gt;
# A tree whose elements have at most 2 children is called a binary tree.&amp;lt;ref name=&amp;quot;ref_9fa8faca&amp;quot;&amp;gt;[https://www.geeksforgeeks.org/binary-tree-data-structure/ Binary Tree Data Structure]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# - If the root node is not null, the tree T1, T2 and T3 is called sub-trees of the root node.&amp;lt;ref name=&amp;quot;ref_5dc4b319&amp;quot;&amp;gt;[https://www.javatpoint.com/tree javatpoint]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# - The node of tree, which doesn&amp;#039;t have any child node, is called leaf node.&amp;lt;ref name=&amp;quot;ref_5dc4b319&amp;quot; /&amp;gt;&lt;br /&gt;
# There can be any number of leaf nodes present in a general tree.&amp;lt;ref name=&amp;quot;ref_5dc4b319&amp;quot; /&amp;gt;&lt;br /&gt;
# :- The node of tree, which doesn&amp;#039;t have any child node, is called leaf node.&amp;lt;ref name=&amp;quot;ref_5dc4b319&amp;quot; /&amp;gt;&lt;br /&gt;
# In order to perform any operation on a tree, you need to reach to the specific node.&amp;lt;ref name=&amp;quot;ref_2a13e315&amp;quot;&amp;gt;[https://www.programiz.com/dsa/trees Tree Data Structure]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Imagine a family tree with relationships from all generation: grandparents, parents, children, siblings, etc.&amp;lt;ref name=&amp;quot;ref_083cb97f&amp;quot;&amp;gt;[https://www.freecodecamp.org/news/all-you-need-to-know-about-tree-data-structures-bceacb85490c/ Everything you need to know about tree data structures]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# A tree is a collection of entities called nodes .&amp;lt;ref name=&amp;quot;ref_083cb97f&amp;quot; /&amp;gt;&lt;br /&gt;
# The first node of the tree is called the root .&amp;lt;ref name=&amp;quot;ref_083cb97f&amp;quot; /&amp;gt;&lt;br /&gt;
# All Tree nodes are connected by links called edges .&amp;lt;ref name=&amp;quot;ref_083cb97f&amp;quot; /&amp;gt;&lt;br /&gt;
# A big oak tree with roots, branches and leaves may come to your mind.&amp;lt;ref name=&amp;quot;ref_df341c3b&amp;quot;&amp;gt;[https://towardsdatascience.com/8-useful-tree-data-structures-worth-knowing-8532c7231e8c 8 Useful Tree Data Structures Worth Knowing]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Similarly, in computer science, the tree data structure has roots, branches and leaves, but it is drawn upside-down.&amp;lt;ref name=&amp;quot;ref_df341c3b&amp;quot; /&amp;gt;&lt;br /&gt;
# A tree is a hierarchical data structure which can represent relationships between different nodes.&amp;lt;ref name=&amp;quot;ref_df341c3b&amp;quot; /&amp;gt;&lt;br /&gt;
# Has a unique property known as the binary-search-tree property.&amp;lt;ref name=&amp;quot;ref_df341c3b&amp;quot; /&amp;gt;&lt;br /&gt;
# A generic, and so non-binary, unsorted, some labels duplicated, arbitrary diagram of a tree.&amp;lt;ref name=&amp;quot;ref_05cf1de7&amp;quot;&amp;gt;[https://en.wikipedia.org/wiki/Tree_(data_structure) Tree (data structure)]&amp;lt;/ref&amp;gt;&lt;br /&gt;
# Alternatively, a tree can be defined abstractly as a whole (globally) as an ordered tree, with a value assigned to each node.&amp;lt;ref name=&amp;quot;ref_05cf1de7&amp;quot; /&amp;gt;&lt;br /&gt;
# A node is a structure which may contain a value or condition, or represent a separate data structure (which could be a tree of its own).&amp;lt;ref name=&amp;quot;ref_05cf1de7&amp;quot; /&amp;gt;&lt;br /&gt;
# Each node in a tree has zero or more child nodes, which are below it in the tree (by convention, trees are drawn growing downwards).&amp;lt;ref name=&amp;quot;ref_05cf1de7&amp;quot; /&amp;gt;&lt;br /&gt;
===소스===&lt;br /&gt;
 &amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pythagoras0</name></author>
	</entry>
</feed>