sir "right" you "right" are "right" a "right" great "right" teacher "right" great "right" explaination "right" sir "right" all "right" i "right" remember "right" is "right" right "right"
@subhashvemula33632 жыл бұрын
at 6:36 the result when u do xor is 100
@jeffkirchoff14 Жыл бұрын
It doesn't work for negative integers
@royalkumar76582 жыл бұрын
sum should be initialized to a... if b = 0 then.. it will come out of loop without doing anything
@ThomasShelby00992 жыл бұрын
Beautifully explained Sir 🌟
@yash.dwivedi2 жыл бұрын
Glad that you liked my explanation thank you keep coding ✨
@adilakshmi3808 Жыл бұрын
Thanks for the clear explanation
@rijumondal687611 ай бұрын
wait one second, bro you did a addition inside the for loop which is prohibited in the question
@vamsi93623 ай бұрын
Question is that without using + operator so + is binary operator, ++ Is unary operator
@surabhichoubey29872 жыл бұрын
Helpful keep uploading 💫💫
@yash.dwivedi2 жыл бұрын
Hi Surabhi glad that you liked the explanation thank you for your valuable feedback keep coding ✨
@surabhichoubey29872 жыл бұрын
Sure 🙌
@abhishekkarn89187 ай бұрын
bhai rata hua cheez ugal diye kya yahan pe?
@anubhavsrivastava69769 ай бұрын
May i know which editor are you using?
@SurajKumar-sj4th2 жыл бұрын
Jhatu explaination
@aliyat17985 ай бұрын
but this code isn't working when b=0
@anujkumarpatel26862 жыл бұрын
what if b is zero it will never go inside the while loop, right?
@zoso252 жыл бұрын
If this had been an interview question, I'm pretty sure I wouldn't have come up with this and would've answered with writing inline assembly instructions to add the numbers...😢
@yash.dwivedi2 жыл бұрын
Hi zoso even if you couldn't think of the optimal solution using bit don't worry just practice daily and also do problem of the day to learn new concepts this will help you to grow and crack interviews. Keep Coding💥
@stealthywealthy51152 жыл бұрын
That's why it is recommended to study core computer science subjects along with dsa to be spontaneous and crack interviews more efficiently as this solution involves the algorithm which is used in digital electronics for full adder circuit which is a core cse subject
@atharvamukane662411 ай бұрын
0:27
@ShivOM752 жыл бұрын
amazing session understood each line 🔥
@yash.dwivedi2 жыл бұрын
Hi Mahesh glad that you liked my explanation thank you for your valuable support and feedback keep coding ✨
@codesetter24974 ай бұрын
What if right , right , what if , what if , right , right , what if right bc
@aishwaryaranghar33852 жыл бұрын
THANKYOUUUUUUUU!!!!!!!!!!
@elakcc7889Ай бұрын
right
@jatinchouhan173810 ай бұрын
Please improve your communication, repeating a line million times. I am Frustrated with your explanation.