<?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_4.25</id>
		<title>TADM2E 4.25 - 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_4.25"/>
		<link rel="alternate" type="text/html" href="https://algorist.com/algowiki_v2/index.php?title=TADM2E_4.25&amp;action=history"/>
		<updated>2026-05-01T03:51:15Z</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_4.25&amp;diff=222&amp;oldid=prev</id>
		<title>MagalooXX: Created page with &quot; Just as a reminder as of how slowly the &lt;math&gt;log(log(n))&lt;/math&gt; function grows:  {| class=&quot;wikitable&quot; |&lt;math&gt;n&lt;/math&gt; |&lt;math&gt;log(log(n))&lt;/math&gt; |- |10 |0.83 |- |100 |1.53 |-...&quot;</title>
		<link rel="alternate" type="text/html" href="https://algorist.com/algowiki_v2/index.php?title=TADM2E_4.25&amp;diff=222&amp;oldid=prev"/>
				<updated>2014-10-07T09:52:26Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; Just as a reminder as of how slowly the &amp;lt;math&amp;gt;log(log(n))&amp;lt;/math&amp;gt; function grows:  {| class=&amp;quot;wikitable&amp;quot; |&amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; |&amp;lt;math&amp;gt;log(log(n))&amp;lt;/math&amp;gt; |- |10 |0.83 |- |100 |1.53 |-...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
Just as a reminder as of how slowly the &amp;lt;math&amp;gt;log(log(n))&amp;lt;/math&amp;gt; function grows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;&lt;br /&gt;
|&amp;lt;math&amp;gt;log(log(n))&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|0.83&lt;br /&gt;
|-&lt;br /&gt;
|100&lt;br /&gt;
|1.53&lt;br /&gt;
|-&lt;br /&gt;
|1000&lt;br /&gt;
|1.93&lt;br /&gt;
|-&lt;br /&gt;
|10000&lt;br /&gt;
|2.22&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The array will therefore consist of only very few distinct numbers and all others will be repetitions. An idea to sort such an array is the following&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# First sweep through the original array and create two auxiliary arrays of numbers &amp;lt;math&amp;gt;A'=\{ a_1', a_2', a_3', \ldots \}&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;\exists~ i,j: a_i=a_j&amp;lt;/math&amp;gt;) and their repetition count &amp;lt;math&amp;gt;N=\{ n_1, n_2, n_3, \ldots \}&amp;lt;/math&amp;gt; : this can be done in &amp;lt;math&amp;gt;O(n)&amp;lt;/math&amp;gt; time&lt;br /&gt;
# Then sort the two arrays in parallel, comparing keys from &amp;lt;math&amp;gt;A'&amp;lt;/math&amp;gt; : this can be done in &amp;lt;math&amp;gt;O(x\ log(x))&amp;lt;/math&amp;gt; time with &amp;lt;math&amp;gt;x=log(log(n))&amp;lt;/math&amp;gt;&lt;br /&gt;
# Finally recreate a sorted version of the original array by taking every number &amp;lt;math&amp;gt;a_i'&amp;lt;/math&amp;gt; and repeat it &amp;lt;math&amp;gt;n_i&amp;lt;/math&amp;gt; times : this can again be done in &amp;lt;math&amp;gt;O(n)&amp;lt;/math&amp;gt; time&lt;/div&gt;</summary>
		<author><name>MagalooXX</name></author>	</entry>

	</feed>