<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>栈 on 不会跑</title>
    <link>https://buhuipao.github.io/tags/%E6%A0%88/</link>
    <description>Recent content in 栈 on 不会跑</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <lastBuildDate>Thu, 29 Jun 2017 03:08:00 +0000</lastBuildDate>
    <atom:link href="https://buhuipao.github.io/tags/%E6%A0%88/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>LeetCode-Min_Stack</title>
      <link>https://buhuipao.github.io/2017/06/29/leetcode-min_stack/</link>
      <pubDate>Thu, 29 Jun 2017 03:08:00 +0000</pubDate>
      <guid>https://buhuipao.github.io/2017/06/29/leetcode-min_stack/</guid>
      <description>&lt;p&gt;经典的stack相关的设计题，实现一个栈要求能够O(1)时间获取当前栈中最小元素，基本思路是：一个数据栈，另一个栈用栈顶存最小元素，如果弹栈弹得是最小元素，那么最小元素栈也弹栈。原题链接：&lt;a href=&#34;https://leetcode.com/problems/min-stack/&#34; target=&#34;_blank&#34;&gt;&lt;a href=&#34;https://leetcode.com/problems/min-stack/&#34;&gt;https://leetcode.com/problems/min-stack/&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
