Flipkart interview question

Rain Water Trapping Problem. Check from Leetcode