<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.georges.savound.com/index.php?action=history&amp;feed=atom&amp;title=Red-Black_Tree</id>
	<title>Red-Black Tree - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.georges.savound.com/index.php?action=history&amp;feed=atom&amp;title=Red-Black_Tree"/>
	<link rel="alternate" type="text/html" href="https://wiki.georges.savound.com/index.php?title=Red-Black_Tree&amp;action=history"/>
	<updated>2026-11-04T19:32:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki.georges.savound.com/index.php?title=Red-Black_Tree&amp;diff=707&amp;oldid=prev</id>
		<title>Savoundg at 18:54, 3 June 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.georges.savound.com/index.php?title=Red-Black_Tree&amp;diff=707&amp;oldid=prev"/>
		<updated>2018-06-03T18:54:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:54, 3 June 2018&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&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;Red-Black Tree is a self-balancing Binary Search Tree.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&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;Red-Black Tree is a self-balancing &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;height-balanced &lt;/ins&gt;Binary Search Tree.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;Red-Black Tree approximately balances itself on insert and deletion operations to guarantee O(log n) search. Insertion and deletion time are also in O(log n) even in the worst case. This data structure is valuable for time-sensitive application such as real-time applications.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;Red-Black Tree approximately balances itself on insert and deletion operations to guarantee O(log n) search. Insertion and deletion time are also in O(log n) even in the worst case. This data structure is valuable for time-sensitive application such as real-time applications.&lt;/div&gt;&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-l9&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;# A red node cannot have a red parent or children.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;# A red node cannot have a red parent or children.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;# The number of black nodes from the root to a given node is called the &amp;#039;&amp;#039;&amp;#039;black depth&amp;#039;&amp;#039;&amp;#039;. Every paths from root to the leaves have the same black depth and it is called the &amp;#039;&amp;#039;&amp;#039;black-height&amp;#039;&amp;#039;&amp;#039;.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;# The number of black nodes from the root to a given node is called the &amp;#039;&amp;#039;&amp;#039;black depth&amp;#039;&amp;#039;&amp;#039;. Every paths from root to the leaves have the same black depth and it is called the &amp;#039;&amp;#039;&amp;#039;black-height&amp;#039;&amp;#039;&amp;#039;.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&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;&#039;&#039;&#039;Property:&#039;&#039;&#039; the path from the root to the farthest left is no more than twice as long as the path from the root to the nearest leaf. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hence&lt;/del&gt;, the Red-Black Tree is height-balanced.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&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;&#039;&#039;&#039;Property:&#039;&#039;&#039; the path from the root to the farthest left is no more than twice as long as the path from the root to the nearest leaf. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;That is why&lt;/ins&gt;, the Red-Black Tree is height-balanced.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;== Resources ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;== Resources ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Savoundg</name></author>
	</entry>
	<entry>
		<id>https://wiki.georges.savound.com/index.php?title=Red-Black_Tree&amp;diff=706&amp;oldid=prev</id>
		<title>Savoundg: Created page with &quot;Red-Black Tree is a self-balancing Binary Search Tree.  Red-Black Tree approximately balances itself on insert and deletion operations to guarantee O(log n) search. Insertion...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.georges.savound.com/index.php?title=Red-Black_Tree&amp;diff=706&amp;oldid=prev"/>
		<updated>2018-06-03T18:42:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Red-Black Tree is a self-balancing Binary Search Tree.  Red-Black Tree approximately balances itself on insert and deletion operations to guarantee O(log n) search. Insertion...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Red-Black Tree is a self-balancing Binary Search Tree.&lt;br /&gt;
&lt;br /&gt;
Red-Black Tree approximately balances itself on insert and deletion operations to guarantee O(log n) search. Insertion and deletion time are also in O(log n) even in the worst case. This data structure is valuable for time-sensitive application such as real-time applications.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Requirements:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Each node is either red or black.&lt;br /&gt;
# The root and the leaf nodes are black.&lt;br /&gt;
# The leaf node does not contain data.&lt;br /&gt;
# A red node cannot have a red parent or children.&lt;br /&gt;
# The number of black nodes from the root to a given node is called the &amp;#039;&amp;#039;&amp;#039;black depth&amp;#039;&amp;#039;&amp;#039;. Every paths from root to the leaves have the same black depth and it is called the &amp;#039;&amp;#039;&amp;#039;black-height&amp;#039;&amp;#039;&amp;#039;. &lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Property:&amp;#039;&amp;#039;&amp;#039; the path from the root to the farthest left is no more than twice as long as the path from the root to the nearest leaf. Hence, the Red-Black Tree is height-balanced.&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
|-&lt;br /&gt;
|https://en.wikipedia.org/wiki/Red%E2%80%93black_tree&lt;br /&gt;
|-&lt;br /&gt;
|http://www.computepatterns.com/problem-solving/data-structures/binary-tree/binary-search-tree-bst/splay-tree-and-red-black-tree/&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Savoundg</name></author>
	</entry>
</feed>