Leetcode 78. Subsets

Sdílet
Vložit
  • čas přidán 26. 07. 2024
  • Leetcode 78. Subsets
    leetcode.com/problems/subsets/
    My contact details
    Instagram :- / frazmohammad
    Connect with me on LinkedIn :- / mohammad-f-bb4886157
    Telegram Group t.me/LeadCoding
    FREE INTERVIEW PREPARATION SERIES • Free Interview Prepara...
    You can practice for coding interview from here
    Leetcode Hard :- • Hard
    Leetcode Medium :- • Medium
    Leetcode Easy :- • Easy
    I am Mohammad Fraz , a final year Engineer at DTU and I create content for Coding and technical interviews for FAANG. I explain the intuition to solve Data Structure and Algorithm Questions from leetcode and other platforms. I also cover interview experiences for FAANG and other tech giants. You will also find lectures on the frequently asked interview questions.

Komentáře • 13

  • @mananjjethanandani6207

    Very good video and code explanation. Keep it up

  • @madhav5895
    @madhav5895 Před 3 lety

    Nicely done bro !! Keep adding more videos on this topic !!!

  • @Axfa32
    @Axfa32 Před 3 lety

    Good job and thank you very much for making these videos!

  • @anuragdhyani1712
    @anuragdhyani1712 Před 2 lety

    great vid

  • @abhayrai1724
    @abhayrai1724 Před 2 lety

    Great work ... can u plz share your Github repo link where u have these solutions.. plz plz it will help a lot thank you....

  • @RahulGupta-rn2id
    @RahulGupta-rn2id Před 3 lety

    Please solve this week Leetcode weekly contest problems.

  • @zahrabenmbarek8463
    @zahrabenmbarek8463 Před 3 lety

    👍👍

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

    Thankyou for this video, after watching 10s of other videos on this topic and scratching my head for over 3 days now, I finally came across this video which cleared my doubts regarding backtracking.
    but, I have this question, why is it necessary to define the else statement here.
    I wrote this code and missed writing the else statement in my helper function,
    which gave me no output.
    but then i went and looked at this code again and found that i missed out the else statement
    before temp.push_back(nums[i]);
    after fixing it i got the output.
    so why is it necessary to write the else statement here?
    considering it should execute the next line if the ifcase(basecase) returns false.

  • @alokgautam7341
    @alokgautam7341 Před 2 lety

    Nice ❤❤

  • @rudrapreeyam
    @rudrapreeyam Před 10 měsíci

    come on. Try to use call stack when you are dry running the recursion.

  • @Sahilsharma-sk5vr
    @Sahilsharma-sk5vr Před rokem