Trapping Rainwater
摘要
Given an array of n non-negative integers representing bar heights in an elevation map (each bar has unit width), compute the total volume of water trapped between bars after rain.