C3 AI interview question

Rain Water Trapping Leetcode Problem