{"id":474,"date":"2014-10-01T13:56:11","date_gmt":"2014-10-01T21:56:11","guid":{"rendered":"http:\/\/www.tech.dimprash.com\/?p=474"},"modified":"2014-10-01T18:41:41","modified_gmt":"2014-10-02T02:41:41","slug":"linked-list-and-stack-algorithms","status":"publish","type":"post","link":"http:\/\/www.tech.dimprash.com\/?p=474","title":{"rendered":"Linked List, Stack, Queue Algorithms"},"content":{"rendered":"<p><strong>1) Given a stack how to reverse the elements of the stack using push() and pop() only. <\/strong><br \/>\nKarumanchi : pg 91 <\/p>\n<p>2) Implement a queue using 2 stacks<br \/>\nKarumanchi : pg 104<\/p>\n<p>3) Implement a stack using 2 queues<br \/>\nKarumanchi : pg 105<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1) Given a stack how to reverse the elements of the stack using push() and pop() only. Karumanchi : pg 91 2) Implement a queue using 2 stacks Karumanchi : pg 104 3) Implement a stack using 2 queues Karumanchi : pg 105<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-474","post","type-post","status-publish","format-standard","hentry","category-algorithms"],"_links":{"self":[{"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/posts\/474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=474"}],"version-history":[{"count":3,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/posts\/474\/revisions"}],"predecessor-version":[{"id":478,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/posts\/474\/revisions\/478"}],"wp:attachment":[{"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=474"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}