<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ideawaza.com/index.php?action=history&amp;feed=atom&amp;title=Introduction_to_Algorithms</id>
	<title>Introduction to Algorithms - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ideawaza.com/index.php?action=history&amp;feed=atom&amp;title=Introduction_to_Algorithms"/>
	<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;action=history"/>
	<updated>2026-09-29T06:00:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16338&amp;oldid=prev</id>
		<title>wikademia&gt;Wikademia at 17:26, 5 April 2009</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16338&amp;oldid=prev"/>
		<updated>2009-04-05T17:26:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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 17:26, 5 April 2009&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-l96&quot;&gt;Line 96:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 96:&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;* &amp;#039;&amp;#039;&amp;#039;Numerical Computation.&amp;#039;&amp;#039;&amp;#039; More and more mathematicians and computer scientists are using computers to do research, eg. to collect data, test new theories or process experimental results. Some researchers have even tried to use computers to prove theorems! (A proof to the four-color theorem was, controversially, completely produced by computer.) Ever faster algorithms need to be invented to cope with this massive increase in demand.&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;* &amp;#039;&amp;#039;&amp;#039;Numerical Computation.&amp;#039;&amp;#039;&amp;#039; More and more mathematicians and computer scientists are using computers to do research, eg. to collect data, test new theories or process experimental results. Some researchers have even tried to use computers to prove theorems! (A proof to the four-color theorem was, controversially, completely produced by computer.) Ever faster algorithms need to be invented to cope with this massive increase in demand.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&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; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==See also==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[Courses]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&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 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;[[Category:Computer science]]&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;[[Category:Computer science]]&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;[[Category:Introductions]]&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;[[Category:Introductions]]&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;[[Category:Algorithms]]&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;[[Category:Algorithms]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>wikademia&gt;Wikademia</name></author>
	</entry>
	<entry>
		<id>https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16337&amp;oldid=prev</id>
		<title>wikademia&gt;Wikademia at 11:20, 23 March 2009</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16337&amp;oldid=prev"/>
		<updated>2009-03-23T11:20:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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 11:20, 23 March 2009&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 colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{RightTOc}}&lt;/ins&gt;&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;==Introduction==&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;==Introduction==&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;See also [http://en.wikipedia.org/wiki/Algorithm Algorithm] on Wikipedia&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;See also [http://en.wikipedia.org/wiki/Algorithm Algorithm] on Wikipedia&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>wikademia&gt;Wikademia</name></author>
	</entry>
	<entry>
		<id>https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16336&amp;oldid=prev</id>
		<title>wikademia&gt;Wikademia: moved Introduction to algorithms to Introduction to Algorithms</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16336&amp;oldid=prev"/>
		<updated>2009-03-23T11:20:12Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/wiki/Introduction_to_algorithms&quot; class=&quot;mw-redirect&quot; title=&quot;Introduction to algorithms&quot;&gt;Introduction to algorithms&lt;/a&gt; to &lt;a href=&quot;/wiki/Introduction_to_Algorithms&quot; title=&quot;Introduction to Algorithms&quot;&gt;Introduction to Algorithms&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:20, 23 March 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>wikademia&gt;Wikademia</name></author>
	</entry>
	<entry>
		<id>https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16335&amp;oldid=prev</id>
		<title>wikademia&gt;Wikademia: 5 revisions</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16335&amp;oldid=prev"/>
		<updated>2009-03-23T11:19:55Z</updated>

		<summary type="html">&lt;p&gt;5 revisions&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:19, 23 March 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>wikademia&gt;Wikademia</name></author>
	</entry>
	<entry>
		<id>https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16334&amp;oldid=prev</id>
		<title>wikademia&gt;Erkan Yilmaz: +Category:Algorithms</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16334&amp;oldid=prev"/>
		<updated>2008-07-17T18:38:50Z</updated>

		<summary type="html">&lt;p&gt;+&lt;a href=&quot;/wiki/Category:Algorithms&quot; title=&quot;Category:Algorithms&quot;&gt;Category:Algorithms&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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:38, 17 July 2008&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-l97&quot;&gt;Line 97:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 97:&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;[[Category:Computer science]]&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;[[Category:Computer science]]&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;[[Category:Introductions]]&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;[[Category:Introductions]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Algorithms]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>wikademia&gt;Erkan Yilmaz</name></author>
	</entry>
	<entry>
		<id>https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16333&amp;oldid=prev</id>
		<title>wikademia&gt;JWSchmidt: Category:Computer science</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16333&amp;oldid=prev"/>
		<updated>2007-06-21T20:38:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/wiki/Category:Computer_science&quot; title=&quot;Category:Computer science&quot;&gt;Category:Computer science&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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 20:38, 21 June 2007&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-l95&quot;&gt;Line 95:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 95:&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;* &amp;#039;&amp;#039;&amp;#039;Numerical Computation.&amp;#039;&amp;#039;&amp;#039; More and more mathematicians and computer scientists are using computers to do research, eg. to collect data, test new theories or process experimental results. Some researchers have even tried to use computers to prove theorems! (A proof to the four-color theorem was, controversially, completely produced by computer.) Ever faster algorithms need to be invented to cope with this massive increase in demand.&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;* &amp;#039;&amp;#039;&amp;#039;Numerical Computation.&amp;#039;&amp;#039;&amp;#039; More and more mathematicians and computer scientists are using computers to do research, eg. to collect data, test new theories or process experimental results. Some researchers have even tried to use computers to prove theorems! (A proof to the four-color theorem was, controversially, completely produced by computer.) Ever faster algorithms need to be invented to cope with this massive increase in demand.&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;[[Category:Computer &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Science&lt;/del&gt;]]&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;[[Category:Computer &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;science&lt;/ins&gt;]]&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;[[Category:Introductions]]&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;[[Category:Introductions]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>wikademia&gt;JWSchmidt</name></author>
	</entry>
	<entry>
		<id>https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16332&amp;oldid=prev</id>
		<title>63.197.134.209: /* Flow Control */</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16332&amp;oldid=prev"/>
		<updated>2007-05-02T14:02:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Flow Control&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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 14:02, 2 May 2007&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-l44&quot;&gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&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;===Flow Control===&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;===Flow Control===&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;Our current toast making &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;algorithmworks &lt;/del&gt;well if you are making toast for yourself, but what if you have a few friends round for breakfast and you need to make them toast as well? The algorithm clearly needs to be improved so that we can make toast for everyone. Also, simply waiting for the toasted is very boring, we could be doing something else while we wait. The third problem with making toast for friends is that they are fussy, what if some of them want butter whilest others prefer margarine, or even just plain toast&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;Our current toast making &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;algorithm works &lt;/ins&gt;well if you are making toast for yourself, but what if you have a few friends round for breakfast and you need to make them toast as well? The algorithm clearly needs to be improved so that we can make toast for everyone. Also, simply waiting for the toasted is very boring, we could be doing something else while we wait. The third problem with making toast for friends is that they are fussy, what if some of them want butter whilest others prefer margarine, or even just plain toast&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;&amp;#039;&amp;#039;&amp;#039;Algorithm for making toast (4.0)&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;&amp;#039;&amp;#039;&amp;#039;Algorithm for making toast (4.0)&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>63.197.134.209</name></author>
	</entry>
	<entry>
		<id>https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16331&amp;oldid=prev</id>
		<title>wikademia&gt;Remi0o: added cat</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16331&amp;oldid=prev"/>
		<updated>2007-04-14T19:43:48Z</updated>

		<summary type="html">&lt;p&gt;added cat&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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 19:43, 14 April 2007&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-l96&quot;&gt;Line 96:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 96:&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;* &amp;#039;&amp;#039;&amp;#039;Numerical Computation.&amp;#039;&amp;#039;&amp;#039; More and more mathematicians and computer scientists are using computers to do research, eg. to collect data, test new theories or process experimental results. Some researchers have even tried to use computers to prove theorems! (A proof to the four-color theorem was, controversially, completely produced by computer.) Ever faster algorithms need to be invented to cope with this massive increase in demand.&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;* &amp;#039;&amp;#039;&amp;#039;Numerical Computation.&amp;#039;&amp;#039;&amp;#039; More and more mathematicians and computer scientists are using computers to do research, eg. to collect data, test new theories or process experimental results. Some researchers have even tried to use computers to prove theorems! (A proof to the four-color theorem was, controversially, completely produced by computer.) Ever faster algorithms need to be invented to cope with this massive increase in demand.&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;[[Category:Computer Science]]&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;[[Category:Computer Science]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Introductions]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>wikademia&gt;Remi0o</name></author>
	</entry>
	<entry>
		<id>https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16330&amp;oldid=prev</id>
		<title>wikademia&gt;JWSchmidt: from Topic:Algorithms</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Introduction_to_Algorithms&amp;diff=16330&amp;oldid=prev"/>
		<updated>2007-01-14T16:56:06Z</updated>

		<summary type="html">&lt;p&gt;from &lt;a href=&quot;/index.php?title=Topic:Algorithms&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Topic:Algorithms (page does not exist)&quot;&gt;Topic:Algorithms&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Introduction==&lt;br /&gt;
See also [http://en.wikipedia.org/wiki/Algorithm Algorithm] on Wikipedia&lt;br /&gt;
&lt;br /&gt;
==Everyday Example==&lt;br /&gt;
Here is a perhaps slightly whimsical example of an algorithm.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Algorithm for making toast (1.0)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
  Get a loaf of bread.&lt;br /&gt;
  Cut one slice from end of the loaf of bread.&lt;br /&gt;
  Put slice of bread into toaster.&lt;br /&gt;
  Turn toaster on.&lt;br /&gt;
  Wait for toaster to finish.&lt;br /&gt;
  Put toasted bread onto a plate.&lt;br /&gt;
  Spread butter on toast.&lt;br /&gt;
&lt;br /&gt;
As can be seen, the algorithm is a set of steps that can be followed in order to acheive a result.&lt;br /&gt;
  &lt;br /&gt;
===Subprocedures===&lt;br /&gt;
Algorithms are often broken down into smaller chunks called or subprocedures. This is both so that they are easier to read, and also because then parts of the algorithm can be reused. What follows is the above algorithm in a more formal manner. The text in italics below are the names of the subprocedures that are being called.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Algorithm for making toast (2.0)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
  &amp;#039;&amp;#039;get&amp;#039;&amp;#039; a loaf of bread.&lt;br /&gt;
  &amp;#039;&amp;#039;cut slice from&amp;#039;&amp;#039; the loaf of bread.&lt;br /&gt;
  &amp;#039;&amp;#039;move&amp;#039;&amp;#039; the slice of bread &amp;#039;&amp;#039;to&amp;#039;&amp;#039; the toaster.&lt;br /&gt;
  &amp;#039;&amp;#039;turn on&amp;#039;&amp;#039; the toaster.&lt;br /&gt;
  &amp;#039;&amp;#039;wait for&amp;#039;&amp;#039; the toaster to finish.&lt;br /&gt;
  &amp;#039;&amp;#039;move&amp;#039;&amp;#039; the slice of toast &amp;#039;&amp;#039;to&amp;#039;&amp;#039; a plate.&lt;br /&gt;
  &amp;#039;&amp;#039;spread&amp;#039;&amp;#039; the slice of toast &amp;#039;&amp;#039;with&amp;#039;&amp;#039; butter.&lt;br /&gt;
&lt;br /&gt;
===Variables===&lt;br /&gt;
In the above example it is fairly simple to follow the piece of toast through the algorithm, but if you imagine that the algorithm could become more complex, and thus the progress of the toast much harder to follow. In order that, at any point in the algorithm, it is clear what is being talked about, names are often given to things. For example&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Algorithm for making toast (3.0)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
  &amp;#039;&amp;#039;&amp;#039;LET&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039; = a loaf of bread&lt;br /&gt;
  &amp;#039;&amp;#039;&amp;#039;LET&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039; = a toaster&lt;br /&gt;
  &amp;#039;&amp;#039;&amp;#039;LET&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;P&amp;#039;&amp;#039;&amp;#039; = a plate&lt;br /&gt;
  &amp;#039;&amp;#039;&amp;#039;LET&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039; = some butter&lt;br /&gt;
  &amp;#039;&amp;#039;&amp;#039;LET&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;cut slice from&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
  &amp;#039;&amp;#039;move&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;to&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
  &amp;#039;&amp;#039;turn on&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
  &amp;#039;&amp;#039;wait for&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
  &amp;#039;&amp;#039;move&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;to&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;P&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
  &amp;#039;&amp;#039;spread&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;with&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===Flow Control===&lt;br /&gt;
Our current toast making algorithmworks well if you are making toast for yourself, but what if you have a few friends round for breakfast and you need to make them toast as well? The algorithm clearly needs to be improved so that we can make toast for everyone. Also, simply waiting for the toasted is very boring, we could be doing something else while we wait. The third problem with making toast for friends is that they are fussy, what if some of them want butter whilest others prefer margarine, or even just plain toast&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Algorithm for making toast (4.0)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
  &amp;#039;&amp;#039;&amp;#039;LET&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039; = a loaf of bread&lt;br /&gt;
  &amp;#039;&amp;#039;&amp;#039;LET&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039; = a toaster&lt;br /&gt;
  &amp;#039;&amp;#039;&amp;#039;LET&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;P&amp;#039;&amp;#039;&amp;#039; = a plate&lt;br /&gt;
  &amp;#039;&amp;#039;&amp;#039;LET&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039; = some butter&lt;br /&gt;
  &amp;#039;&amp;#039;&amp;#039;LET&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039; = some margarine&lt;br /&gt;
  &lt;br /&gt;
  &amp;#039;&amp;#039;&amp;#039;FOR&amp;#039;&amp;#039;&amp;#039; every friend (&amp;#039;&amp;#039;&amp;#039;F&amp;#039;&amp;#039;&amp;#039;) eating toast{&lt;br /&gt;
    &amp;#039;&amp;#039;&amp;#039;LET&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;cut slice from&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
    &amp;#039;&amp;#039;move&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;to&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
    &amp;#039;&amp;#039;turn on&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
    &amp;#039;&amp;#039;&amp;#039;WHILE&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039; is not finished{&lt;br /&gt;
      &amp;#039;&amp;#039;talk to&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;F&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
    }&lt;br /&gt;
    &amp;#039;&amp;#039;move&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;to&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;P&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
    &lt;br /&gt;
    &amp;#039;&amp;#039;&amp;#039;IF&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;F&amp;#039;&amp;#039;&amp;#039; likes &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039;{&lt;br /&gt;
      &amp;#039;&amp;#039;&amp;#039;LET X&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
    }&amp;#039;&amp;#039;&amp;#039;ELSEIF&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;F&amp;#039;&amp;#039;&amp;#039; likes &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;{&lt;br /&gt;
      &amp;#039;&amp;#039;&amp;#039;LET X&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
    }&amp;#039;&amp;#039;&amp;#039;ELSE&amp;#039;&amp;#039;&amp;#039;{&lt;br /&gt;
      &amp;#039;&amp;#039;&amp;#039;LET X&amp;#039;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;NOTHING&amp;#039;&amp;#039;&lt;br /&gt;
    }&lt;br /&gt;
    &amp;#039;&amp;#039;spread&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;with&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;X&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
    &amp;#039;&amp;#039;move&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;P&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;to&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;F&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
  }&lt;br /&gt;
As can be seen, to resolve the three problems above, I had to implement the three main types of flow control, a &amp;#039;&amp;#039;&amp;#039;For Loop&amp;#039;&amp;#039;&amp;#039;, a &amp;#039;&amp;#039;&amp;#039;While Loop&amp;#039;&amp;#039;&amp;#039; and an &amp;#039;&amp;#039;&amp;#039;If Statement&amp;#039;&amp;#039;&amp;#039;. It should be obvious from the example what each of these does. I also involved a new variable &amp;#039;&amp;#039;&amp;#039;X&amp;#039;&amp;#039;&amp;#039;, which unlike the variables I have used before changes its value as the algorithm progresses.&lt;br /&gt;
&lt;br /&gt;
==Basic concepts==&lt;br /&gt;
This simple example already contains many components commonly found in most algorithms:&lt;br /&gt;
&lt;br /&gt;
* Instructions. Instructions are the heart and soul of any algorithm. An algorithm will consist of a series of sub-algorithms, each performing a smaller task. Extracting individual digits from the numbers to be added may well be an entire task in itself. Some instructions, like digit addition, can be considered fundemental instructions which cannot be broken up further; all algorithms can eventually be broken down into these instructions, like objects being composed of atoms.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Variables.&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;temporary&amp;#039;&amp;#039; and &amp;#039;&amp;#039;carry&amp;#039;&amp;#039; are both temporary values used to store additional information the algorithm needs to function correctly or effectively. Their values can &amp;#039;&amp;#039;vary&amp;#039;&amp;#039; as the algorithm progresses, hence their name.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Conditionals.&amp;#039;&amp;#039;&amp;#039; Some algorithms may need to make a decision somewhere in it. If the sum of the current two digits is 10 or larger, 1 will be carried over to the next digit position, otherwise nothing (ie. zero) is carried. Conditionals allow an algorithm to selectively execute instructions based on certains &amp;#039;&amp;#039;condition&amp;#039;&amp;#039; which must be satisfied.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Looping.&amp;#039;&amp;#039;&amp;#039; The &amp;#039;&amp;#039;for each&amp;#039;&amp;#039;...&amp;#039;&amp;#039;end for&amp;#039;&amp;#039; instruction means to run certain instructions &amp;#039;&amp;#039;for each&amp;#039;&amp;#039; object in a set, in this case for each digit in a number. This is a special case of &amp;#039;&amp;#039;&amp;#039;looping&amp;#039;&amp;#039;&amp;#039;, the act of repeating a set of instructions while (or until) a goal is reached or a condition is satisfied; in this case while there are digits left (or until there are no digits left). Loops can contain any other instructions, including other loops!&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Subprocedures.&amp;#039;&amp;#039;&amp;#039; An algorithm may not be able to do all the work on its own. Usually, a large, complex algorithm can be broken up into parts, each perfoming a specific task. Smaller algorithms are easier to reuse, for example the &amp;#039;&amp;#039;for each ...&amp;#039;&amp;#039; digit selection algorithm could be reused in subraction, multiplication and division algorithms, and so on. Breaking up algorithms into logical parts also make it easier to analyze their behaviours and properties from a mathematical point of view.&lt;br /&gt;
&lt;br /&gt;
==Algorithms commonly studied==&lt;br /&gt;
Many algorithms are currently under intense study for various reasons. They include:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Sorting algorithms.&amp;#039;&amp;#039;&amp;#039; A sorting algorithm will take a set of objects and arrange the objects in ascending (or descending) order. While this is a simple problem and there are many existing algorithms to tackle this problem efficiently, new algorithms (and problems with older ones) are published all the time.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Artificial Intelligence.&amp;#039;&amp;#039;&amp;#039; AI algorithms typically accept an input representing its environment (eg. a chess board) and try to find some legal move to respond favourably to the environment or an opponent (eg. calculating a good chess move). Today modern chess AIs can beat even professionals and regularly challenge world grandmasters to intense, decisive matches. Still, some simple board games (like Japanese Go) remain impervious to attack. AI has also been recently employed in anti-fraud software and email spam filters.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Numerical Computation.&amp;#039;&amp;#039;&amp;#039; More and more mathematicians and computer scientists are using computers to do research, eg. to collect data, test new theories or process experimental results. Some researchers have even tried to use computers to prove theorems! (A proof to the four-color theorem was, controversially, completely produced by computer.) Ever faster algorithms need to be invented to cope with this massive increase in demand.&lt;br /&gt;
[[Category:Computer Science]]&lt;/div&gt;</summary>
		<author><name>wikademia&gt;JWSchmidt</name></author>
	</entry>
</feed>