Is the result for [[12,13,1,12],[13,4,13,12],[13,8,10,12],[12,13,12,12],[13,13,13,13]] incorrect?
For [[12,13,1,12],[13,4,13,12],[13,8,10,12],[12,13,12,12],[13,13,13,13]] I think the water trapped should be 15 and not 14 as leetcode says. According to me, at
For ```[[12,13,1,12],[13,4,13,12],[13,8,10,12],[12,13,12,12],[13,13,13,13]]``` I think the water trapped should be 15 and not 14 as leetcode says. According to me, at (1,1) 9 units of water will be stored, for (2,1) 4 units and then for (2,2) 2 units of water will be trapped totalling to 15 units. What am I missing?
[]