LeetCode 1915. Number of Wonderful Substrings

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

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

  • @vishaljha5071
    @vishaljha5071 9 หลายเดือนก่อน +22

    Wtf dude I can't find a single video with proper explanation of this question

  • @sidhuparas
    @sidhuparas 3 ปีที่แล้ว +6

    I went through Leetcode discussions but couldn’t understand. Thank god I found your video. It is really helpful and made small small things clear why all of these work. Thanks man!!

    • @shivam9201
      @shivam9201 3 ปีที่แล้ว

      hey, where did u go for editorials of leetcode problems??

    • @sidhuparas
      @sidhuparas 3 ปีที่แล้ว

      @@shivam9201 The discussion section is what I am talking about. Better than editorials most of the time.

  • @tsayruei-yu8186
    @tsayruei-yu8186 4 หลายเดือนก่อน

    Wow, I finally understood the solution! You're a hero, sir. 😄

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

    very nicely explained. Thank you so much

  • @kiransequeira6152
    @kiransequeira6152 4 หลายเดือนก่อน

    Beautiful explanation

  • @supremoluminary
    @supremoluminary 4 หลายเดือนก่อน +3

    You jumped right from the definition of “what is a wonderful string” to a 10 bit mask. At that point, you lost me. What are you thinking here? And why? It is not a logical presentation.

  • @Sksahu_123
    @Sksahu_123 3 ปีที่แล้ว +7

    Not able to understand

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

      You can check th-cam.com/video/yuewgcX6PlY/w-d-xo.html first. The idea is same as this question but easier to understand.

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

      @@yeojinyoon4430 the one you linked is even harder lmao...

  • @abhimanyushekhawat2626
    @abhimanyushekhawat2626 4 หลายเดือนก่อน

    Thanks for this tutorial. This is the most clear explanation on the internet for this problem.

  • @jeremiahthomas7594
    @jeremiahthomas7594 3 ปีที่แล้ว

    what got u think that parity was a measure?

    • @happycoding1093
      @happycoding1093  3 ปีที่แล้ว +5

      when the problem mentions odd/even then it's natural to consider parity

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

    看这个之前 我都看不懂哈哈哈