New DSA Sheet : https://bit.ly/dsa-sheet-apnacollege
Share your DSA progress on LinkedIn : https://bit.ly/Ln-ac
{
#50Day DSA Challenge
#No. of Problems solved (eg: first 50 DSA problems , first 100 DSA problems)
Students who will complete challenge will be reposted on Official Page
}
OR Share your DSA progress on Twitter : https://bit.ly/ac-X

Lecture 14 of DSA Series - Arrays Part 6 - Container with Most Water Problem | Leetcode 11
Share your progress on Twitter : https://x.com/ShradhaKhapra_

DSA Series full playlist : https://www.youtube.com/playlist?list=PLfqMhTWNBTe137I_EPQd34TsgV6IO55pt

00:00 Introduction
00:18 Important NOTE
00:37 Understanding Qs
03:21 Brute Force Approach
12:01 Code (Brute Approach)
14:13 Optimal Approach (2 Pointer)
25:30 Dry Run (for 2 Pointer Approach)
29:43 Code (2 Pointer Approach)

Want to study for Tech Placements/Internships from us :
Our Latest Placement Batches : https://linktr.ee/apnacollege.in

Share your progress on Twitter : https://x.com/ShradhaKhapra_
DSA Series full playlist : https://www.youtube.com/playlist?list=PLfqMhTWNBTe137I_EPQd34TsgV6IO55pt


Shradha Ma'am community
Instagram : https://www.instagram.com/shradhakhapra
LinkedIn : https://www.linkedin.com/in/shradha-khapra/