<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://algorist.com/algowiki_v2/index.php?action=history&amp;feed=atom&amp;title=TADM2E_2.6</id>
		<title>TADM2E 2.6 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://algorist.com/algowiki_v2/index.php?action=history&amp;feed=atom&amp;title=TADM2E_2.6"/>
		<link rel="alternate" type="text/html" href="https://algorist.com/algowiki_v2/index.php?title=TADM2E_2.6&amp;action=history"/>
		<updated>2026-05-01T05:38:47Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>https://algorist.com/algowiki_v2/index.php?title=TADM2E_2.6&amp;diff=97&amp;oldid=prev</id>
		<title>Algowikiadmin: Recovering wiki</title>
		<link rel="alternate" type="text/html" href="https://algorist.com/algowiki_v2/index.php?title=TADM2E_2.6&amp;diff=97&amp;oldid=prev"/>
				<updated>2014-09-11T18:14:12Z</updated>
		
		<summary type="html">&lt;p&gt;Recovering wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''n = 1''' &lt;br /&gt;
The single element array is already its max. Loop is not entered. Max is returned&lt;br /&gt;
&lt;br /&gt;
Let for '''n=k''', the algorithm is true&lt;br /&gt;
&lt;br /&gt;
For '''n = k+1''' ,two cases arise :&lt;br /&gt;
&lt;br /&gt;
'''1)''' a[k+1] is max &lt;br /&gt;
&lt;br /&gt;
'''2)''' a[k+1] is not max.&lt;br /&gt;
&lt;br /&gt;
If '''1)''' holds then at the last iteration when i = k+1, m = a[k+1] is assigned. Hence max is returned&lt;br /&gt;
&lt;br /&gt;
Else if '''2)''' holds then we are left with the task of finding the max among '''n = k''' elements, which we already assumed that the algorithm does correctly.&lt;/div&gt;</summary>
		<author><name>Algowikiadmin</name></author>	</entry>

	</feed>