Sum of two numbers without using arithmetic operators | Problem of the day: 22/04/22 | Yash Dwivedi

  Рет қаралды 18,453

GeeksforGeeks Practice

GeeksforGeeks Practice

Күн бұрын

Пікірлер
@dajucoder
@dajucoder 5 ай бұрын
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"
@subhashvemula3363
@subhashvemula3363 2 жыл бұрын
at 6:36 the result when u do xor is 100
@jeffkirchoff14
@jeffkirchoff14 Жыл бұрын
It doesn't work for negative integers
@royalkumar7658
@royalkumar7658 2 жыл бұрын
sum should be initialized to a... if b = 0 then.. it will come out of loop without doing anything
@ThomasShelby0099
@ThomasShelby0099 2 жыл бұрын
Beautifully explained Sir 🌟
@yash.dwivedi
@yash.dwivedi 2 жыл бұрын
Glad that you liked my explanation thank you keep coding ✨
@adilakshmi3808
@adilakshmi3808 Жыл бұрын
Thanks for the clear explanation
@rijumondal6876
@rijumondal6876 11 ай бұрын
wait one second, bro you did a addition inside the for loop which is prohibited in the question
@vamsi9362
@vamsi9362 3 ай бұрын
Question is that without using + operator so + is binary operator, ++ Is unary operator
@surabhichoubey2987
@surabhichoubey2987 2 жыл бұрын
Helpful keep uploading 💫💫
@yash.dwivedi
@yash.dwivedi 2 жыл бұрын
Hi Surabhi glad that you liked the explanation thank you for your valuable feedback keep coding ✨
@surabhichoubey2987
@surabhichoubey2987 2 жыл бұрын
Sure 🙌
@abhishekkarn8918
@abhishekkarn8918 7 ай бұрын
bhai rata hua cheez ugal diye kya yahan pe?
@anubhavsrivastava6976
@anubhavsrivastava6976 9 ай бұрын
May i know which editor are you using?
@SurajKumar-sj4th
@SurajKumar-sj4th 2 жыл бұрын
Jhatu explaination
@aliyat1798
@aliyat1798 5 ай бұрын
but this code isn't working when b=0
@anujkumarpatel2686
@anujkumarpatel2686 2 жыл бұрын
what if b is zero it will never go inside the while loop, right?
@zoso25
@zoso25 2 жыл бұрын
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.dwivedi
@yash.dwivedi 2 жыл бұрын
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💥
@stealthywealthy5115
@stealthywealthy5115 2 жыл бұрын
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
@atharvamukane6624
@atharvamukane6624 11 ай бұрын
0:27
@ShivOM75
@ShivOM75 2 жыл бұрын
amazing session understood each line 🔥
@yash.dwivedi
@yash.dwivedi 2 жыл бұрын
Hi Mahesh glad that you liked my explanation thank you for your valuable support and feedback keep coding ✨
@codesetter2497
@codesetter2497 4 ай бұрын
What if right , right , what if , what if , right , right , what if right bc
@aishwaryaranghar3385
@aishwaryaranghar3385 2 жыл бұрын
THANKYOUUUUUUUU!!!!!!!!!!
@elakcc7889
@elakcc7889 Ай бұрын
right
@jatinchouhan1738
@jatinchouhan1738 10 ай бұрын
Please improve your communication, repeating a line million times. I am Frustrated with your explanation.
@trendyshorts0678
@trendyshorts0678 24 күн бұрын
Very bad explanation 😢
@digitalmarketing3817
@digitalmarketing3817 Жыл бұрын
Cute :)
Add Two Numbers Without The "+" Sign (Bit Shifting Basics)
18:25
Back To Back SWE
Рет қаралды 125 М.
Word wrap | Problem of the day: 16/04/2022 | Yash Dwivedi
32:38
GeeksforGeeks Practice
Рет қаралды 17 М.
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 53 МЛН
Criação de Dashboards com Python - Aula 1
13:04
Rafael Serafim
Рет қаралды 10
Sum of Two Integers - Leetcode 371 - Java
11:48
NeetCode
Рет қаралды 127 М.
5 Simple Steps for Solving Any Recursive Problem
21:03
Reducible
Рет қаралды 1,2 МЛН
L5. Add 2 numbers in LinkedList | Dummy Node Approach
14:48
take U forward
Рет қаралды 117 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 81 МЛН
💥ФЕЙГІН повернувся із СУДЖИ і шокував заявою
36:27
Телеканал Прямий
Рет қаралды 276 М.