Back to Browse

Trapping Rainwater | Two Pointers | Dynamic Programming | 42 LeetCode | Day 31

162 views
Premiered Jul 31, 2021
16:54

Here is the detailed solution of the LEETCODE DAY 31 TRAPPING RAINWATER Problem of the July Leetcoding Challenge and if you have any doubts, do comment below to let us know and help you. In this video, I have talked about the best solution to the problem. I've used both concept dynamic programming as well as two pointers to solve this in an efficient way. Any suggestions are welcomed and do subscribe to my YouTube Channel for the latest updates for solutions as well as explanations. You can donate to support us:- UPI:- sunnysaraff11@okicici Paypal:- paypal.me/CodeWithSunny Timestamps:- Introduction:- 00:00 Problem Statement:- 02:03 Explanation in detail:- 04:15 Code DP:- 08:18 Two Pointer Explanation:- 11:26 Code:- 15:58 Link to Two Pointer Based Approach Code:- https://pastebin.com/6iHkvqHX Link to Dp Based Code:- https://pastebin.com/upGyZwDu Link to July Leetcoding Challenge Playlist:- https://www.youtube.com/playlist?list=PLEvw47Ps6OBD5pymcGIIQgkdiqROyTA7Q Complete June Leetcoding Challenge Playlist:- https://www.youtube.com/playlist?list=PLEvw47Ps6OBCOkEO2QrbywrfEIZ0J30N3 Complete May LeetCoding Challenge Playlist:- https://www.youtube.com/playlist?list=PLEvw47Ps6OBDOS9QhnA95PRvKxbEfMeP9 Complete April LeetCoding Challenge Playlist:- https://www.youtube.com/playlist?list=PLEvw47Ps6OBAnS5TJGfVSkvDP645HXmxR Follow me on LinkedIn:- https://www.linkedin.com/in/sunny-kumar-8798591a0/ Join my Telegram Channel:- https://t.me/joinchat/TMXVB84sStuqqmaW

Download

1 formats

Video Formats

360pmp421.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Trapping Rainwater | Two Pointers | Dynamic Programming | 42 LeetCode | Day 31 | NatokHD