407. Trapping Rain Water II

  Given an m x n matrix of positive integers representing the height of each unit cell in a 2D elevation map, compute the volume of water it is able to trap after raining. Note: Both m and n are less
相關文章
相關標籤/搜索