Counting Bits | leetcode 338 | Hindi

liked this video? Click here / @codebix1096
problem :- leetcode.com/problems/countin...
code :- github.com/luckykumardev/leet...

Пікірлер: 40

  • @zubairzafar480
    @zubairzafar480 Жыл бұрын

    Such a beautiful and excellent explaination. Thank you so much I was really struggling with this problem.

  • @ChandraShekhar-by3cd
    @ChandraShekhar-by3cd3 жыл бұрын

    Best explanation. Please keep posting more video on leetcode and other interview platform question. Thanks a lot for you nice and detailed explanation.

  • @codebix1096

    @codebix1096

    3 жыл бұрын

    Thank you. Follow our linkedin page for regular updates www.linkedin.com/company/codebix/?viewAsMember=true

  • @priyanshu_._
    @priyanshu_._10 ай бұрын

    Superb Explanation. In DSA only thing matters is understanding pattern which you explained clearly

  • @anuragpundir2026
    @anuragpundir20263 жыл бұрын

    bht sai h bht sahi h :)

  • @shubhammishra1225
    @shubhammishra12252 жыл бұрын

    Thanks got it.

  • @ssrpic
    @ssrpic2 жыл бұрын

    Best explanation...

  • @shantanukumar4081
    @shantanukumar40812 жыл бұрын

    Great explanation 👍👍👍

  • @blazingsam1214
    @blazingsam12142 жыл бұрын

    BEST SOLUTION IN MY EYES

  • @abhinavverma4111
    @abhinavverma41114 жыл бұрын

    Thanks! Seems like top-down is your fav

  • @codebix1096

    @codebix1096

    4 жыл бұрын

    yes It is! ; )

  • @dr.darkfurygaming9174
    @dr.darkfurygaming91744 жыл бұрын

    Sir can you create a video on recursion (advance level) i got same logic but I'm not able to convert into recursion approach

  • @pahehepaa4182
    @pahehepaa41824 жыл бұрын

    Ab font size perfect hai 🤣 Thank you man! 🔥🔥🔥🔥

  • @codebix1096

    @codebix1096

    4 жыл бұрын

    join this facebook group to get updates of upcoming videos and discussions facebook.com/groups/258049468776636/about

  • @GaneshPatil-vtox
    @GaneshPatil-vtox4 жыл бұрын

    As always awesome!!!!

  • @codebix1096

    @codebix1096

    4 жыл бұрын

    Thanks :)

  • @Isha_Sethi
    @Isha_Sethi11 ай бұрын

    Enable the option of sending thanks too

  • @aakashkumar9138
    @aakashkumar9138 Жыл бұрын

    sir which mic are you using?

  • @kumarmanish8515
    @kumarmanish85154 жыл бұрын

    nice solution to this problem. sir.

  • @codebix1096

    @codebix1096

    4 жыл бұрын

    join this facebook group to get updates of upcoming videos and discussions facebook.com/groups/258049468776636/about

  • @aayushsharma5133
    @aayushsharma51333 жыл бұрын

    Superrrrr

  • @codebix1096

    @codebix1096

    3 жыл бұрын

    Thank you. Follow our linkedin page for regular updates www.linkedin.com/company/codebix/?viewAsMember=true

  • @ABHISHEKYADAV-lu5iz
    @ABHISHEKYADAV-lu5iz4 жыл бұрын

    👌👌👌👌👌

  • @codebix1096

    @codebix1096

    4 жыл бұрын

    join this facebook group to get updates of upcoming videos and discussions facebook.com/groups/258049468776636/about

  • @harekrushnanayak2904
    @harekrushnanayak290410 ай бұрын

    Harekrushna nnayak

  • @gauravjain9750
    @gauravjain97504 жыл бұрын

    Sir apart from these videos why don't u start another playlist where all the concepts of data structure such as a graph, DP, stacks, queue, etc are studied. It will help many students to clear all concepts in Data Structure and algorithm.

  • @codebix1096

    @codebix1096

    4 жыл бұрын

    sure Gaurav will do this. i will start creating video from june end on fundamandals as well like how we can implement our own hashmap, stack, queue , ...etc N ary Trees, Heaps, huffman coding, advance graph algo, backtracking , segment tree...etc

  • @codestorywithMIK
    @codestorywithMIK4 жыл бұрын

    Accepted (O(n) solution (with just one single for loop without recursion) : github.com/MAZHARMIK/Leetcode-May-Challenge-2020/blob/master/Counting%20Bits%20(C%2B%2B)

  • @codebix1096

    @codebix1096

    4 жыл бұрын

    i also have video on this logic(tabulation) :) btw thanks for sharing your code

  • @codebix1096

    @codebix1096

    4 жыл бұрын

    kzread.info/dash/bejne/lKtru7inlKq_oaw.html

  • @codestorywithMIK

    @codestorywithMIK

    4 жыл бұрын

    @@codebix1096 Thank you for your appreciation Sir. I must tell you , i have never seen someone teaching programming so patiently like you. Keep going.

  • @codebix1096

    @codebix1096

    4 жыл бұрын

    join this facebook group to get updates of upcoming videos and discussions facebook.com/groups/258049468776636/about

  • @TheBangTelevison
    @TheBangTelevison4 жыл бұрын

    In python (Tabular): class Solution: def countBits(self, num: int) -> List[int]: if num == 0: return [0] dp = [0]*(num+1) dp[0] = 0 dp[1] = 1 for i in range(2,num+1): if i % 2 == 0: dp[i] = dp[i//2] else: dp[i] = 1 + dp[i//2] return dp

  • @codebix1096

    @codebix1096

    4 жыл бұрын

    Thanks Mayank for sharing :)

  • @israkulhaquetusher3256
    @israkulhaquetusher32564 жыл бұрын

    this can be easily solved using builtin popcount :-)

  • @codebix1096

    @codebix1096

    4 жыл бұрын

    Yes but I just wanted to share it's recursive solution

  • @israkulhaquetusher3256

    @israkulhaquetusher3256

    4 жыл бұрын

    @@codebix1096 thanks for your effort , i am a regular viewer of your leet code playlist :-)

  • @nidhimittal8929

    @nidhimittal8929

    4 жыл бұрын

    Leetcode - Followup : Can you do it like a boss? Do it without using any builtin function like __builtin_popcount