Рет қаралды 12,048
In this video, I'll talk about how to solve 930. Binary Subarrays With Sum | 560. Subarray Sum Equals K | Prefix Sums | 2 Pointer
Checkout DSA-169 Series: • Aryan DSA-169 Series |...
100Days 100k Placements: • 100 Days 100K Placement
Let's Connect:
📝Linkedin: / aryan-mittal-0077
📸 Instagram: / ez.pz.dsa
📱Telegram : t.me/aryan_mittal_group
🤖 Github: github.com/aryan-0077
About Me:
I am Aryan Mittal - A Software Engineer in Goldman Sachs, Speaker, Creator & Educator. During my free time, I create programming education content on this channel & also how to use that to grow :)
✨ Timelines✨
0:00 - Coming Up
1:14 - Problem Explanation
2:12 - Approach1 - Brute Force
2:58 - Approach2 - Brute Force Optimised
4:00 - Approach3 - Prefix Sum Intuition & Dry Run
10:57 - Prefix Sums Code Explanation
13:56 - Approach4 - 2 Pointers
14:40 - Why & Why Not 2 Pointers in DETAIL
31:16 - Approach4 for Leetcode 930
35:04 - Approach4 Code Explanation
✨ Hashtags ✨
#programming #Interviews #leetcode #faang #maang #datastructures #algorithms