SUBSET SUM & PARTITION PROBLEM : Dynamic Programming | CP Course| EP 98

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024

ความคิดเห็น • 79

  • @arshsaiyad7547
    @arshsaiyad7547 2 ปีที่แล้ว +15

    The dedication!!
    He was literally making this for us at 4.30 AM.
    Thank you so much :)

  • @chaitanya812
    @chaitanya812 2 ปีที่แล้ว +6

    Bhaiya plz don't stop this course .It is really helping . I'm totally dependent on this coursr and you for the cp
    Keep it going it is the best

  • @uvsingh
    @uvsingh 2 ปีที่แล้ว +2

    Idea for solving this question is first calculate the sum of array them apply subsetSum for array_sum/2 if it exist then return true else false, also check if array sum is odd then return false because no 2 subsets with equal sum can give an odd value upon their sum.
    Came up with the solution myself
    Thanks Luv bhaiya

  • @sahilanand30
    @sahilanand30 2 ปีที่แล้ว +3

    💛best dp playlist that ever exists

  • @prakharbhateja4584
    @prakharbhateja4584 2 ปีที่แล้ว +3

    bhaiya bhot sahi explanation thi....Keep it up👌
    PS.: Bloopers bhi daal diya karo,entertainment bhi ho jata hai😂

  • @akshatchauhan6580
    @akshatchauhan6580 2 ปีที่แล้ว

    Broo you are the best. I followed your DP series and now I am able to understand and solve the problems easily. You not only teach us the method, you also teach us how to think. Keep up the amazing work ❤

  • @shivajipatil5662
    @shivajipatil5662 2 ปีที่แล้ว +8

    Bhai heaps aur avl trees kaha se kare?

    • @Good-tz8ep
      @Good-tz8ep 2 ปีที่แล้ว

      GATEHUB
      ABDUL BARI

  • @shreyasadhari7971
    @shreyasadhari7971 2 ปีที่แล้ว

    You are a brilliant teacher. I feel this course is better than paid ones.

  • @sahilanand30
    @sahilanand30 2 ปีที่แล้ว +5

    You are doing great work bro 💖

  • @mdnehal2389
    @mdnehal2389 2 ปีที่แล้ว

    My first Approach in my mind is Just find the subset sums substract from total sums from array if both equal then return true otherwise return false.

  • @vedantrathore5920
    @vedantrathore5920 2 ปีที่แล้ว +1

    bhaiya mera ek doubt hai , aap please help kardo , mujhe ek dun achese yeh recursive fxn + memoize samjh aagya but isko tabulationse kaise soche bottom - up approach kaise lagaye uska please ek lecture bana dijiye PLEASE

  • @nimeshsingh6229
    @nimeshsingh6229 2 ปีที่แล้ว +1

    Best of best luv bhai!!💛

  • @bholaplayer
    @bholaplayer 2 ปีที่แล้ว

    best DP lessons ever

  • @satyammaurya165
    @satyammaurya165 2 ปีที่แล้ว

    Bruh keep uploading like this your content is just awesome 🔥

  • @rishav144
    @rishav144 ปีที่แล้ว +1

    bhai , Luv new videos kab aayegi ....Aapne bola tha system design related content ayega ...but , Kab ?

  • @Jiyakathuria
    @Jiyakathuria 2 ปีที่แล้ว +2

    Hey bro can you please tell how to approach Google from tier 3 colleges? Please tell how you approach (which college were you in) basically whole story

  • @saketkumarsingh-2986
    @saketkumarsingh-2986 2 ปีที่แล้ว

    I wanted to know why you always some extra range for a given input ,like for a[i]

  • @chiraggoyal9646
    @chiraggoyal9646 2 ปีที่แล้ว +1

    Thanx bhaiya

  • @abhaypratap9898
    @abhaypratap9898 2 ปีที่แล้ว +1

    Luv u luv bhaiya 💗

  • @ayushchauhan7227
    @ayushchauhan7227 2 ปีที่แล้ว

    God Teacher !

  • @strugglingprogrammer1487
    @strugglingprogrammer1487 2 ปีที่แล้ว

    Thanku so much for the video

  • @Diamond_heaD_0
    @Diamond_heaD_0 11 หลายเดือนก่อน +1

    💛

  • @unknown_coder7960
    @unknown_coder7960 2 ปีที่แล้ว +2

    Bhaiya 800 questions aur🌝

  • @palakdwivedi7152
    @palakdwivedi7152 2 ปีที่แล้ว

    the amazing luv

  • @Naturalbanarasi
    @Naturalbanarasi 2 หลายเดือนก่อน

    Just
    sum total ka half krdenge bhaiya

  • @onimthestrongest6229
    @onimthestrongest6229 ปีที่แล้ว

    💛💛💛💛

  • @funenjoynilaypatel4553
    @funenjoynilaypatel4553 2 ปีที่แล้ว

    17-aug 2022

  • @faisalsal1
    @faisalsal1 2 ปีที่แล้ว

    Dynamic programming Kahan use hoi?

  • @JSP_shorts
    @JSP_shorts ปีที่แล้ว

    💛💛💛💛💛💛💛

  • @prajjawalsingh4952
    @prajjawalsingh4952 ปีที่แล้ว

    half of the total sum we have to find only

  • @NARUTOUZUMAKI-bk4nx
    @NARUTOUZUMAKI-bk4nx ปีที่แล้ว

    💛💛🔥🔥

  • @Good-tz8ep
    @Good-tz8ep 2 ปีที่แล้ว

    ❤️💕💕❤️

  • @arfathq8069
    @arfathq8069 ปีที่แล้ว

    Roasting Aditya Verma 😂😂

  • @shreyashverma3644
    @shreyashverma3644 2 ปีที่แล้ว

    Sir, can you pls see your discord server's condition.

  • @19abhishekgupt70
    @19abhishekgupt70 2 ปีที่แล้ว

    🧡💛

  • @Rahulkumar-op9lu
    @Rahulkumar-op9lu 2 ปีที่แล้ว

    💛💛💛🙏

  • @iasaspirant1441
    @iasaspirant1441 2 ปีที่แล้ว +1

    Second comment

  • @SHUBHAMSINGH-po3ol
    @SHUBHAMSINGH-po3ol 2 ปีที่แล้ว

    💛💛💚💚

  • @varunvaibhav
    @varunvaibhav 2 ปีที่แล้ว

    They way i approached partitioning was to keep 2 auxiliary vectors and in each recursive call(at each index) i'll have the choice to put that element in one of those two array and when all indices are done the partition would have been completed. So at the base case i can compare the sum of elements of those two partitions(vectors).
    Me at 7:00 : Yeah i did a great job brute-forcing the solution to the height of stupidity 🥲

  • @devacc9958
    @devacc9958 2 หลายเดือนก่อน

    💛

  • @p38_amankuldeep75
    @p38_amankuldeep75 2 ปีที่แล้ว

    💛💛💛💛💛💛💛

  • @good114
    @good114 ปีที่แล้ว

    💕❤️

  • @AbhayKumar-uo3jb
    @AbhayKumar-uo3jb 2 ปีที่แล้ว

    💛💛💛💛💛

  • @naha_ne_ja_nahane
    @naha_ne_ja_nahane 2 ปีที่แล้ว

    Third comment

  • @user-vc9vv7fe4r
    @user-vc9vv7fe4r หลายเดือนก่อน

    💛💛💛

  • @Ayush-Bajpai
    @Ayush-Bajpai 3 หลายเดือนก่อน

    💛

  • @robinofautumn99
    @robinofautumn99 8 หลายเดือนก่อน

    💛

  • @mayankarora9578
    @mayankarora9578 9 หลายเดือนก่อน

    💛

  • @yashbhinwal2801
    @yashbhinwal2801 ปีที่แล้ว

    💛

  • @iampranshu
    @iampranshu ปีที่แล้ว

    💛

  • @sahilmangukiya1966
    @sahilmangukiya1966 ปีที่แล้ว

    💛

  • @shyamkumar712
    @shyamkumar712 ปีที่แล้ว

    💛

  • @satyaprakashkumawat1642
    @satyaprakashkumawat1642 2 ปีที่แล้ว

    💛

  • @devraj-2310
    @devraj-2310 2 ปีที่แล้ว

    💛

  • @pritishkumar4247
    @pritishkumar4247 2 ปีที่แล้ว

    💛

  • @sagarbora7768
    @sagarbora7768 2 ปีที่แล้ว

    💛

  • @amanyadav6607
    @amanyadav6607 2 ปีที่แล้ว

    💛

  • @utkarshjaryal6170
    @utkarshjaryal6170 2 ปีที่แล้ว

    💛

  • @adarshjha9188
    @adarshjha9188 2 ปีที่แล้ว

    💛

  • @chinmayagarwal6327
    @chinmayagarwal6327 2 ปีที่แล้ว

    💛

  • @sanjaymajumder2991
    @sanjaymajumder2991 ปีที่แล้ว

    💛💛💛

  • @Surya001x
    @Surya001x ปีที่แล้ว

    💛💛

  • @than0s869
    @than0s869 ปีที่แล้ว

    💛

  • @divyampatro8586
    @divyampatro8586 2 ปีที่แล้ว

    💛

  • @champion5946
    @champion5946 2 ปีที่แล้ว

    💛

  • @sayondeep5050
    @sayondeep5050 2 ปีที่แล้ว

    💛

  • @chaitanyasampat7458
    @chaitanyasampat7458 2 ปีที่แล้ว

    💛

  • @manikantasai6118
    @manikantasai6118 2 ปีที่แล้ว

    💛

  • @jatinaggarwal2671
    @jatinaggarwal2671 2 ปีที่แล้ว

    💛

  • @pulkitmittal584
    @pulkitmittal584 2 ปีที่แล้ว

    💛

  • @harshwardhanpatki846
    @harshwardhanpatki846 2 ปีที่แล้ว

    💛💛

  • @subhasishpanda5390
    @subhasishpanda5390 2 ปีที่แล้ว

    💛

  • @user-dn5ns4zf3r
    @user-dn5ns4zf3r 2 ปีที่แล้ว

    💛💛💛

  • @BornInBharat
    @BornInBharat 2 ปีที่แล้ว

    💛💛

  • @vk8201
    @vk8201 2 ปีที่แล้ว

    ❤️

  • @baadshaali6567
    @baadshaali6567 2 ปีที่แล้ว

    💛💛💛💛💛

  • @vinaychandel1968
    @vinaychandel1968 2 ปีที่แล้ว

    💛💛💛💛💛💛💛