# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'42: Trapping Rain Waterhttps://oj.leetcode.com/problems/trapping-rain-water/Given n non-ne...
分类:
移动开发 时间:
2015-03-20 01:16:24
阅读次数:
184
Trapping Rain Water问题:Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to...
分类:
移动开发 时间:
2015-03-12 09:45:06
阅读次数:
150
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 after raining.
For example,
Given [0,1,0,2,1,0,1,3,2,1,2,1]...
分类:
移动开发 时间:
2015-03-11 17:22:23
阅读次数:
160
例子1:
[maokx@localhost example]$ more trapping
#!/bin/sh
# Scriptname: trapping
# Script to illustrate the trap command and signals
trap 'echo "Ctrl-C will not terminate $0."' 2
trap 'echo "Ct...
分类:
系统相关 时间:
2015-03-10 12:08:44
阅读次数:
173
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
分类:
移动开发 时间:
2015-03-05 16:23:33
阅读次数:
171
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 after raining.
For example,
Given [0,1,0,2,1,0,1,3,2,1,2,1]...
分类:
移动开发 时间:
2015-03-05 12:54:08
阅读次数:
195
Problem:
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 after raining.
For example,
Given [0,1,0,2,1,...
分类:
移动开发 时间:
2015-02-22 14:39:33
阅读次数:
144
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
分类:
移动开发 时间:
2015-02-17 07:01:29
阅读次数:
187
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 after raining.
For example,
Given [0,1,0,2,1,0,1,3,2,1,2,1]...
分类:
移动开发 时间:
2015-02-11 12:45:01
阅读次数:
187
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
分类:
移动开发 时间:
2015-02-10 15:00:46
阅读次数:
202