<?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.44</id>
		<title>TADM2E 4.44 - 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.44"/>
		<link rel="alternate" type="text/html" href="https://algorist.com/algowiki_v2/index.php?title=TADM2E_4.44&amp;action=history"/>
		<updated>2026-05-01T02:53:59Z</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.44&amp;diff=102&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_4.44&amp;diff=102&amp;oldid=prev"/>
				<updated>2014-09-11T18:14:16Z</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;If we are allowed to maintain a second stack on the side, this should be possible.&lt;br /&gt;
The main stack is a regular stack that can be implemented using an array and an index to the top of the stack.&lt;br /&gt;
The second stack will stack each entry when it becomes the new minimum, only.&lt;br /&gt;
When an entry is poped from the main stack, it will be poped from the second stack only if identical.&lt;br /&gt;
The minimum item is the top of the second stack.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I think the actual question was about ability of building the stack that has push/pop/extract-min operations as in the queues - the extract removes element. This is impossible - that would give us an opportunity to sort in O(n) time (n O(1) push'es to the data structure, and then n extract-min's)&lt;br /&gt;
--[[User:Kubek2k|Kubek2k]] 05:00, 6 November 2011 (EST)&lt;/div&gt;</summary>
		<author><name>Algowikiadmin</name></author>	</entry>

	</feed>