Leetcode 371. Sum of Two Integers. Bit Manipulation [C++ / Java]

Sdílet
Vložit
  • čas přidán 7. 10. 2022
  • Given two integers a and b, return the sum of the two integers without using the operators + and -.
    Problem :
    leetcode.com/problems/sum-of-...
    Solution :
    leetcode360.blogspot.com/2022...
    Blind 75 Must Do Leetcode :
    leetcode.com/list/xi4ci4ig
    Blind 75 Solved Playlist :
    • BLIND-75 LEETCODE (SOL...
    Socials :
    LinkedIn : / tech-ed-cs
    Twitter : / techedcs
    Instagram : / techedcs
    Quora : www.quora.com/q/teched
    Telegram : t.me/techedcs
    Reddit : / tech_ed_cs
    #techedcs #blind75 #leetcode

Komentáře • 13

  • @Gaurav-qh1cy
    @Gaurav-qh1cy Před 8 dny

    bhai really helpful thanks for the video

  • @user-kn4zc2gt3r
    @user-kn4zc2gt3r Před 18 dny +1

    भाई इतनी शालीनता से समझाकर दिल जीत लिया ऐसे ही वीडियो और बनाओ और इसी फ़्लोव में बनाना ,मतलब आपने हर एक चीज को विस्तृत रूप में समझने की कोशिश करि है | और अपने ये पेपर पेन वाला सिस्टम सही है | और क्रिएटर्स पता नहीं उस डिजिटल स्क्रीन पैर क्या क्या लिख क्र चले जाते है | हा भाई और हिंदी भाषा में ही बनाना धन्यवाद |

    • @techedcs
      @techedcs  Před 10 dny

      भाई तुम्हारा कमेंट दिल छू लिया है, सही कहा मज़ा उस भाषा में है जो बिना दिक्कत बोली जाये, पेन पेपर का होना बना रहेगा. प्यार देने के लिए धन्यवाद 🙂

  • @user-px5gu9ug2o
    @user-px5gu9ug2o Před 4 měsíci +1

    the best explanation i found on youtube . Thanks

  • @stutimishra2005
    @stutimishra2005 Před 5 měsíci +2

    Thanks a lot 😊 for explanation

  • @yashyadavcool
    @yashyadavcool Před rokem +1

    wow what an explanation watched many videos but understood here.

  • @gauravsharma5584
    @gauravsharma5584 Před 11 měsíci +1

    Best video i watched so far.

  • @lotifurshabbir7302
    @lotifurshabbir7302 Před 6 měsíci +1

    perfect 👍🏻

  • @neelparekh9624
    @neelparekh9624 Před rokem +2

    Thank you for the explanation.
    Why do we use unsigned int here?

    • @techedcs
      @techedcs  Před rokem +3

      singed int can have negative values which can be neglected while left shifting henceforth causing errors