Lecture 25 of DSA Placement Series
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
-----------------------------------------------------------------------------------------------------------
Want to study for Tech Placements/Internships from us :
Our Latest Placement Batches : https://linktr.ee/apnacollege.in
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/
Twitter : https://x.com/ShradhaKhapra_
Time Stamps :
00:00 Introduction
00:50 Question
01:22 Important Note
02:25 Approach1 (Brute Force)
03:45 Approach2
05:31 Approach2 (Code)
07:56 DNF Algorithm (Approach3)
23:00 Pseudocode
24:10 Dry Run
28:44 Code
30:30 Time Complexity