TRAPPING RAIN WATER | LEETCODE 42 | PYTHON SOLUTION

Channel Discord Community:   / discord   Problem Link: https://leetcode.com/problems/trappin... Today we are solving one of the most legendary problems on Leetcode: Trapping Rain Water (LC # 42). This question is a bit of a follow-up from Container with Most Water but with a twist which makes it quite tricky to reason about. Luckily you have me to save the day so worry not! TIMESTAMPS 00:00 Intro 00:26 Question Prompt 00:45 Basic Examples 02:15 Solution Intuition 12:40 Coding 18:25 Time/Space Complexity 19:05 Outro