<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Stack on Rik Kisnah - Blog</title><link>https://www.rik-kisnah.ai/tags/stack/</link><description>Recent content in Stack on Rik Kisnah - Blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 21 Apr 2020 09:00:00 -0700</lastBuildDate><atom:link href="https://www.rik-kisnah.ai/tags/stack/feed.xml" rel="self" type="application/rss+xml"/><item><title>Min Stack</title><link>https://www.rik-kisnah.ai/teach/coding/min-stack/</link><pubDate>Tue, 21 Apr 2020 09:00:00 -0700</pubDate><guid>https://www.rik-kisnah.ai/teach/coding/min-stack/</guid><description>A stack that can tell you its smallest element instantly, at any moment. The answer is a second stack that remembers the smallest so far. Pay a little memory on every push to make one question free.</description></item><item><title>Stacks</title><link>https://www.rik-kisnah.ai/teach/coding/stacks/</link><pubDate>Tue, 21 Feb 2017 09:00:00 -0800</pubDate><guid>https://www.rik-kisnah.ai/teach/coding/stacks/</guid><description>A pile of plates. You only ever touch the top one. That is enough to match brackets, undo edits, unwind nested things, and find the next bigger number for every item in one pass. Learn the three shapes and you have the whole family.</description></item></channel></rss>