930. Binary Subarrays With Sum | 560. Subarray Sum Equals K | Prefix Sums | 2 Pointer Crash Course

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

Пікірлер: 35

  • @chakri6262
    @chakri626217 күн бұрын

    Finally a person with real content who says difficult one is difficult instead of it's easy (showing off) .Great following you as a result of leetcode daily question series and got amazed with the kind of explanation of approach in depth . Great work :)

  • @Sumeet_100
    @Sumeet_1003 ай бұрын

    Thank You so much for video !! that's how I get to know why simple Two pointers not working here

  • @akshatchaturvedi7407
    @akshatchaturvedi740712 күн бұрын

    bhaisahab , bahut tagda content h bhai shahab

  • @thriveforsuccess27
    @thriveforsuccess273 ай бұрын

    maqsood bhai ne aaj bhi MAQSAD yaad dila diya 6:57 💀👍. guys maqsad nhi bhoolna hai

  • @24_sky_24

    @24_sky_24

    3 ай бұрын

    While (!isComplete(maqsad)){ Maqsud nhi bhulna ++; }

  • @thriveforsuccess27

    @thriveforsuccess27

    3 ай бұрын

    😆😆😆😆@@24_sky_24

  • @yutubegaming5340
    @yutubegaming53403 ай бұрын

    Good Solution comments from NIT ALLAHABAD

  • @Tanishq181
    @Tanishq1813 ай бұрын

    same problem I am facing, thank you for the explanation

  • @AJ-xc3ks
    @AJ-xc3ks3 ай бұрын

    Thanks Bro.. Learn many more today❤❤👍👍

  • @devabakare357
    @devabakare3573 ай бұрын

    Thanks you sir, for explaining the last part, I seen this explanation for that, first time I got it and understand it clearly

  • @251_satyamrai4
    @251_satyamrai4Ай бұрын

    Your solutions are very easy to understand. Thank you

  • @amarnathgarai
    @amarnathgarai3 ай бұрын

    wow great love your work❤❤

  • @rahulkarki6857
    @rahulkarki68573 ай бұрын

    thanks bro love your works keep it up😘

  • @UECAshutoshKumar
    @UECAshutoshKumar17 күн бұрын

    Thank you!

  • @sangeetamarothi
    @sangeetamarothi3 ай бұрын

    thank you so much

  • @ankitsahu2305
    @ankitsahu23053 ай бұрын

    Nice explanation

  • @akshitkapoor1039
    @akshitkapoor10393 ай бұрын

    yes bro like ur videos

  • @coderunner743
    @coderunner74317 күн бұрын

    great explanation bro

  • @bishwashkumarsah171
    @bishwashkumarsah1713 ай бұрын

    dil sae sukriya brother. man you always post contest and daily questions video. Thank you❤❤. Nice explanation .

  • @niteshsaxena1066
    @niteshsaxena10663 ай бұрын

    You are awesome bro, keep it up

  • @drugzgamerz7348
    @drugzgamerz734816 күн бұрын

    Great explanation

  • @naruto_6663
    @naruto_66633 ай бұрын

    Maksad kabhi ni bhulna

  • @copilotcoder
    @copilotcoder2 ай бұрын

    You are freaking legend bro... awesome bro awesome had been struggling since yesterday

  • @memegram_018
    @memegram_0183 ай бұрын

    LOVE YOU BRO

  • @gudaykironchowdary1654
    @gudaykironchowdary16543 ай бұрын

    I think you will reach more audience soon bro

  • @jyotiprakashnath1118
    @jyotiprakashnath111813 күн бұрын

    easy ko tough bana dete ho bhai

  • @chakri2622
    @chakri26223 ай бұрын

    arayan its good to explain two problem but do problem one after other its not easy to concerate on both problem at a time i felt overwhelmed

  • @tuanhungphamcong1340

    @tuanhungphamcong1340

    3 ай бұрын

    as a new leetcoder . I agree

  • @vishusharma5630
    @vishusharma56303 ай бұрын

    maqsad

  • @mihir-se4et
    @mihir-se4et3 ай бұрын

    bhaiya fenwick trees please please please pleasr

  • @AnshuHarshit
    @AnshuHarshit3 ай бұрын

    Aryan bro ye explanation wala link de diya kro...

  • @LoneWolf-tz6gq
    @LoneWolf-tz6gq3 ай бұрын

    maksad hmmm :)

  • @R00059
    @R000593 ай бұрын

    Not joking this is better then striver

  • @sunfayar
    @sunfayarАй бұрын

    His tongue isn't able to keep up with his brain

  • @mrityunjoybarman9098
    @mrityunjoybarman90983 ай бұрын

    Please don't stop making these videos it really helps us. 🫡