After the rain, water is trapped between the blocks. The total volume of water trapped is4. https://leetcode.com/problems/trapping-rain-water-ii/discuss/89461/Java-solution-using-PriorityQueuehttps://www.youtube