L4. Power Set | Bit Manipulation

Sdílet
Vložit
  • čas přidán 8. 03. 2024
  • Notes/Codes/Problem links under day 8 of A2Z DSA Course: takeuforward.org/strivers-a2z...
    Follow us on our other social media handles: linktr.ee/takeuforward

Komentáře • 37

  • @sachinvarma9949
    @sachinvarma9949 Před měsícem +12

    never thought this problem can be solved by this approach

  • @arnabnath4782
    @arnabnath4782 Před měsícem +5

    No one can explain this with that ease..wonderful 👏🏼👏🏼👏🏼👏🏼

  • @santoshkumak
    @santoshkumak Před 23 dny +2

    This problem looks very easy from explanation but after he writes code and mapping back to explanation you will know how tricky it is....
    Kudos to you for putting this explanation and solution....

  • @stith_pragya
    @stith_pragya Před měsícem +1

    Understood.....Thank You So Much for this wonderful video............🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

  • @yhimanshu22
    @yhimanshu22 Před měsícem

    All videos are very nice.

  • @SuvradipDasPhotographyOfficial

    Awesome striver, amazing explanation

  • @codeman3828
    @codeman3828 Před 2 měsíci

    Understood. awesome video

  • @UECAshutoshKumar
    @UECAshutoshKumar Před 3 měsíci +1

    Thank you 🙏

  • @NazeerBashaShaik
    @NazeerBashaShaik Před měsícem

    Understood, thank you.

  • @yaminireddy3321
    @yaminireddy3321 Před měsícem

    understood in a easy way , thansks!!

  • @user-tk2vg5jt3l
    @user-tk2vg5jt3l Před 3 měsíci

    Thank you Bhaiya

  • @prabhakaran5542
    @prabhakaran5542 Před 4 měsíci +1

    Understood❤

  • @durgasainathdora9900
    @durgasainathdora9900 Před 3 měsíci +1

    understood ❤

  • @nishchaypandit973
    @nishchaypandit973 Před 4 měsíci +8

    Brother i have my placement in 3 months plz continue this playlist

  • @yogeshpatidar3529
    @yogeshpatidar3529 Před 4 měsíci

    Understood👍

  • @ShashiKanthvarma-lb6xb
    @ShashiKanthvarma-lb6xb Před 4 měsíci +6

    the observation that take set bit of 2^n index in input array as member of a subset is very theoretical & observation intensive and hard to come up with , if we have seen never before, how to deal with it @take U forward

  • @Shivi32590
    @Shivi32590 Před 19 dny

    thank you

  • @mdseraj737_
    @mdseraj737_ Před 15 dny

    Understood 😊 all

  • @ayushp4471
    @ayushp4471 Před 3 měsíci

    Understood 😁❤️

  • @jjjyotijain
    @jjjyotijain Před 3 měsíci

    understood 😀

  • @hardikpatel352
    @hardikpatel352 Před 4 měsíci

    Understood

  • @navinchaudhary2812
    @navinchaudhary2812 Před 4 měsíci

    understood

  • @ajayprabhu465
    @ajayprabhu465 Před měsícem

    Bruh, wonderful! , sorry I did not subscribe until now, i mean im following u from a yr, but never saw the subscribe button idk how. uff. DID IT NOW :)

  • @user-sp8ne7hj3n
    @user-sp8ne7hj3n Před 4 měsíci

    nice

  • @banothutharun2743
    @banothutharun2743 Před 2 měsíci

    Wow 🎉

  • @unoshihaam
    @unoshihaam Před 3 měsíci +3

    public static void main(String[] args) {
    int[] nums = {1,2,3};
    int subsets = 1

  • @adityababu3405
    @adityababu3405 Před 2 měsíci +1

    #include
    vector subsequences(string str){

    vectorv;
    int n=str.length();
    int subset=(1

  • @shubham57641
    @shubham57641 Před 4 měsíci +3

    Bhiya ab india aa gaye ho video ki consistancy banae rakhna

  • @siddheshpandey7905
    @siddheshpandey7905 Před 25 dny

    Which approach is better, recursive or bitwise one?

  • @AbhishekSharma-hk8yh
    @AbhishekSharma-hk8yh Před měsícem

    c++ code
    class Solution {
    public:
    vector subsets(vector& nums) {
    int n = nums.size();
    int subsett = 1

  • @SumitKumar-qg4ps
    @SumitKumar-qg4ps Před 4 měsíci

    That extra n in space can be easily optimized as
    int n = v.size();
    n = pow(2,n);
    vectorans(n);
    for(int i = 0; i

  • @tej.askamble
    @tej.askamble Před měsícem

    01/ 06 Revise

  • @humanity7880
    @humanity7880 Před 3 měsíci

    understood

  • @havefunwithshort
    @havefunwithshort Před 13 dny

    understood

  • @ramakrishnakcr4417
    @ramakrishnakcr4417 Před 2 měsíci

    understood