错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Trapping Rainwater

  • Roman Snytsar

摘要

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.