Here is the solution to "Trapping Rain Water" leetcode question. Hope you have a great time going through it.
Solution: https://leetcode.com/problems/trapping-rain-water/
1) 0:00 Explaining the problem out loud
2) 1:10 Algorithm walkthrough
3) 2:30 Solution using 2 Pointer Approach
4) 12:30 Solution using Stack Approach
5) 20:00 Coding and Time Complexity
Solutions https://github.com/Sunchit/Coding-Decoded/blob/master/July2021/TrappingRainWater.java
Complete May playlist : https://www.youtube.com/playlist?list=PLEI-q7w3s9gS8UNo22UA4O3_YjnQczyNp
Complete April playlist : https://www.youtube.com/playlist?list=PLEI-q7w3s9gStjIegCW3i84AI9L2KjGhJ
Complete March playlist : https://www.youtube.com/playlist?list=PLEI-q7w3s9gTbYRnbU7Np0_-v_GwxYGOb
Complete Feb playlist : https://www.youtube.com/playlist?list=PLEI-q7w3s9gRNUjYwtb53A7SXSCQaJguT
Complete Jan playlist : https://www.youtube.com/playlist?list=PLEI-q7w3s9gR8EhTsObcgM74NnIiAcRWm
Complete December Playlist: https://www.youtube.com/playlist?list=PLEI-q7w3s9gQIB_urBmMV04f_NBelXJEP
PS : Please increase the speed to 1.25X