
两个最值
文章平均质量分 72
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 169. Majority Element(众数)
原题网址:https://leetcode.com/problems/majority-element/ Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You may as原创 2016-05-25 01:37:08 · 1609 阅读 · 0 评论 -
LeetCode 42. Trapping Rain Water
原题网址:https://leetcode.com/problems/trapping-rain-water/ Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap aft原创 2016-06-09 02:22:13 · 779 阅读 · 0 评论