//Question link : https://leetcode.com/problems/trapping-rain-water/ // /*In this approach we traverse the array and // for every element we search for leftmax(traversing in the left)and rightmax(traversing in the right). // Then water trapped at a p...

Markdown supported · ⌘↵ to post
Atharva
Grind & Hustle
Question Link : leetcode.com/problems/trapping-rain-water