Lecture 19 - Sum vs XOR ( Hackerrank ) | Bit Manipulation Tutorial

Lecture 19 - Sum vs XOR ( Hackerrank ) | Bit Manipulation Tutorial

Codes Your Mind

54 года назад

4,894 Просмотров

#XOR #Coding #CompetitiveCoding
In this video, I explained the Sum vs Xor problem in an optimized way

There is a mistake in formula right one is given below
formula : a + b = a^b +2(a&b)

Problem link :
https://www.hackerrank.com/challenges/sum-vs-xor/problem

PlayList -
STL in C++ : https://www.youtube.com/playlist?list=PLfQN-
EvRGF38uxlVGAhwrvhd5N6lwps0T

Bit Manipulation Tutorial : https://www.youtube.com/playlist?list=PLfQN-
EvRGF39Vz4UO18BtA1ocnUhGkvk5

CodeChef Long Challenge Editorial :
https://www.youtube.com/playlist?list=PLfQN-
EvRGF39brouyhoVO0zSflzwDYo7K

Follow on instagram
www.instagram.com/codesyourmind

Тэги:

#bit_manipulation #Sum_vs_Xor #Hackerrank_Questions #XOR #Xor_properties #Coding #Competitive_Coding #Interview_Problem #Interview_Prepration
Ссылки и html тэги не поддерживаются


Комментарии:

@KhyatiSatija
@KhyatiSatija - 19.01.2024 21:33

best explanation, sir thank you

Ответить
@aadil4236
@aadil4236 - 25.08.2021 12:35

Just humble request for the proof of a+b = a^b + a&b
Except for this proof, I got the lesson.

Ответить
@mrowl7472
@mrowl7472 - 10.01.2021 18:44

best bit manipulation playlist. Thanks bro

Ответить
@chandandas5235
@chandandas5235 - 21.06.2020 08:35

sir why 1<<unset bit used??
what does it mean..Please reply

Ответить
@janhavisrivastav977
@janhavisrivastav977 - 20.06.2020 18:56

Amazing

Ответить
@Rashmi_Yadav_vlogs
@Rashmi_Yadav_vlogs - 16.06.2020 23:17

Nice

Ответить