<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-2682781734368178743.post558934194029345602..comments</id><updated>2011-10-20T12:01:37.707-07:00</updated><category term='puzzles'/><category term='Questions-List'/><category term='String Manipulation'/><category term='Dynamic Programming'/><category term='Linked List'/><category term='Array'/><category term='Microsoft'/><category term='Databases'/><category term='Data Structures'/><category term='MySpace'/><category term='Tree'/><category term='.NET/C#'/><title type='text'>Comments on Technical Interview Questions: Implement Two stacks using one array</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.technicalinterviewquestions.net/feeds/558934194029345602/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default'/><link rel='alternate' type='text/html' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html'/><author><name>avid gardener</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2682781734368178743.post-6724133870407068956</id><published>2011-09-11T18:10:44.174-07:00</published><updated>2011-09-11T18:10:44.174-07:00</updated><title type='text'>&amp;gt;&amp;gt; In the popStackA() operation, isn&amp;#39;t i...</title><summary type='text'>&amp;gt;&amp;gt; In the popStackA() operation, isn&amp;#39;t it enough if we check stackATop &amp;gt;= 0 alone.&lt;br /&gt;Why do we bother whether stackATop &amp;lt; stackBTop too?&lt;br /&gt;&lt;br /&gt;I agree</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/6724133870407068956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/6724133870407068956'/><link rel='alternate' type='text/html' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html?showComment=1315789844174#c6724133870407068956' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html' ref='tag:blogger.com,1999:blog-2682781734368178743.post-558934194029345602' source='http://www.blogger.com/feeds/2682781734368178743/posts/default/558934194029345602' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-845336086'/></entry><entry><id>tag:blogger.com,1999:blog-2682781734368178743.post-5321752403901323557</id><published>2011-05-10T09:51:28.911-07:00</published><updated>2011-05-10T09:51:28.911-07:00</updated><title type='text'>In the popStackA() operation, isn&amp;#39;t it enough ...</title><summary type='text'>In the popStackA() operation, isn&amp;#39;t it enough if we check stackATop &amp;gt;= 0 alone.&lt;br /&gt;Why do we bother whether stackATop &amp;lt; stackBTop too?</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/5321752403901323557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/5321752403901323557'/><link rel='alternate' type='text/html' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html?showComment=1305046288911#c5321752403901323557' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html' ref='tag:blogger.com,1999:blog-2682781734368178743.post-558934194029345602' source='http://www.blogger.com/feeds/2682781734368178743/posts/default/558934194029345602' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-464085890'/></entry><entry><id>tag:blogger.com,1999:blog-2682781734368178743.post-6063260629833446375</id><published>2011-01-20T04:52:58.536-08:00</published><updated>2011-01-20T04:52:58.536-08:00</updated><title type='text'>In implement two stacks in one array push is very ...</title><summary type='text'>In implement two stacks in one array push is very easy. but pop is difficult.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/6063260629833446375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/6063260629833446375'/><link rel='alternate' type='text/html' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html?showComment=1295527978536#c6063260629833446375' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html' ref='tag:blogger.com,1999:blog-2682781734368178743.post-558934194029345602' source='http://www.blogger.com/feeds/2682781734368178743/posts/default/558934194029345602' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-727221476'/></entry><entry><id>tag:blogger.com,1999:blog-2682781734368178743.post-4743778387015456516</id><published>2010-11-11T05:51:07.173-08:00</published><updated>2010-11-11T05:51:07.173-08:00</updated><title type='text'>need to implement it using C programme.</title><summary type='text'>need to implement it using C programme.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/4743778387015456516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/4743778387015456516'/><link rel='alternate' type='text/html' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html?showComment=1289483467173#c4743778387015456516' title=''/><author><name>savitha</name><uri>http://www.blogger.com/profile/02425764471283488547</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html' ref='tag:blogger.com,1999:blog-2682781734368178743.post-558934194029345602' source='http://www.blogger.com/feeds/2682781734368178743/posts/default/558934194029345602' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1427617070'/></entry><entry><id>tag:blogger.com,1999:blog-2682781734368178743.post-2370507425172709773</id><published>2010-11-11T05:49:37.876-08:00</published><updated>2010-11-11T05:49:37.876-08:00</updated><title type='text'>actually my instructor asked me this following que...</title><summary type='text'>actually my instructor asked me this following question , can u pls help me out in understanding this concept&lt;br /&gt;can many stacks be implemented using 1 push and 1 pop? &lt;br /&gt;can it be of different of different size? if NO what modification has to be done to make it YES?</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/2370507425172709773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/2370507425172709773'/><link rel='alternate' type='text/html' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html?showComment=1289483377876#c2370507425172709773' title=''/><author><name>savitha</name><uri>http://www.blogger.com/profile/02425764471283488547</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html' ref='tag:blogger.com,1999:blog-2682781734368178743.post-558934194029345602' source='http://www.blogger.com/feeds/2682781734368178743/posts/default/558934194029345602' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1427617070'/></entry><entry><id>tag:blogger.com,1999:blog-2682781734368178743.post-2026911346725215914</id><published>2010-11-11T05:44:09.200-08:00</published><updated>2010-11-11T05:44:09.200-08:00</updated><title type='text'>thanks</title><summary type='text'>thanks</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/2026911346725215914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/2026911346725215914'/><link rel='alternate' type='text/html' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html?showComment=1289483049200#c2026911346725215914' title=''/><author><name>savitha</name><uri>http://www.blogger.com/profile/02425764471283488547</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html' ref='tag:blogger.com,1999:blog-2682781734368178743.post-558934194029345602' source='http://www.blogger.com/feeds/2682781734368178743/posts/default/558934194029345602' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1427617070'/></entry><entry><id>tag:blogger.com,1999:blog-2682781734368178743.post-3848631380585655037</id><published>2010-11-09T21:36:31.746-08:00</published><updated>2010-11-09T21:36:31.746-08:00</updated><title type='text'>Savitha,
The advantage is you can get by with a si...</title><summary type='text'>Savitha,&lt;br /&gt;The advantage is you can get by with a single buffer (save memory). This is true only if only one of the stacks is bigger than the other and you don&amp;#39;t know the potential sizes of the stacks.  This is how stack and heap are laid out for an operating system process. They both grow towards each other.&lt;br /&gt;&lt;br /&gt;The disadvantage is it complicates things a big since you have to make</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/3848631380585655037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/3848631380585655037'/><link rel='alternate' type='text/html' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html?showComment=1289367391746#c3848631380585655037' title=''/><author><name>avid gardener</name><uri>http://www.blogger.com/profile/08838915050477665426</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html' ref='tag:blogger.com,1999:blog-2682781734368178743.post-558934194029345602' source='http://www.blogger.com/feeds/2682781734368178743/posts/default/558934194029345602' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1688458652'/></entry><entry><id>tag:blogger.com,1999:blog-2682781734368178743.post-8010442152574487059</id><published>2010-11-03T08:43:10.238-07:00</published><updated>2010-11-03T08:43:10.238-07:00</updated><title type='text'>what are the advantages and disadvantages of imple...</title><summary type='text'>what are the advantages and disadvantages of implementing 2 or n stacks using single array?</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/8010442152574487059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/8010442152574487059'/><link rel='alternate' type='text/html' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html?showComment=1288798990238#c8010442152574487059' title=''/><author><name>savitha</name><uri>http://www.blogger.com/profile/02425764471283488547</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html' ref='tag:blogger.com,1999:blog-2682781734368178743.post-558934194029345602' source='http://www.blogger.com/feeds/2682781734368178743/posts/default/558934194029345602' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1427617070'/></entry><entry><id>tag:blogger.com,1999:blog-2682781734368178743.post-762438491751263183</id><published>2010-10-17T11:31:49.293-07:00</published><updated>2010-10-17T11:31:49.293-07:00</updated><title type='text'>Helped me a lot..Thanx :)</title><summary type='text'>Helped me a lot..Thanx :)</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/762438491751263183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2682781734368178743/558934194029345602/comments/default/762438491751263183'/><link rel='alternate' type='text/html' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html?showComment=1287340309293#c762438491751263183' title=''/><author><name>Gayatri</name><uri>http://myriadangels.wordpress.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.technicalinterviewquestions.net/2009/04/implement-two-2-stacks-one-1-array.html' ref='tag:blogger.com,1999:blog-2682781734368178743.post-558934194029345602' source='http://www.blogger.com/feeds/2682781734368178743/posts/default/558934194029345602' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1779042288'/></entry></feed>
