![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode-Stack
R_zz
这个作者很懒,什么都没留下…
展开
-
LeetCode-496. Next Greater Element I
问题:https://leetcode.com/problems/next-greater-element-i/ You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for原创 2017-02-27 16:13:53 · 234 阅读 · 0 评论 -
LeetCode-155. Min Stack
问题:https://leetcode.com/problems/min-stack/?tab=Description Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) – Push element x onto stack. pop原创 2017-02-27 16:29:05 · 159 阅读 · 0 评论