Leetcode 371: Sum of Two Numbers Without The '+' Sign [Medium Python Algorithm]

preview_player
Показать описание
In this video I step through a commonly asked interview question from the leetcode library. Leave a comment and let me know what you think or if you came up with another solution. Thanks.


#FAANG
#Leetcode
#Python
Рекомендации по теме
Комментарии
Автор

This solution got me a job at Google! Thanks!!

travbrack
Автор

sum() function internally uses '+' operator so we can not use sum. This question should be done using Bit manipulation.

samirpaul
Автор

This solution got me a job in Microsoft. Thankyou so much, what can i do to repay you?

adarshshrivatsava
Автор

Missed the whole purpose of the question

harishkumarreddyrajula
Автор

Even if not mentioned to use bitwise, U could have done something else. How to expect using library functions in interview.

rohitkumaram
Автор

Anyone with some competitive programming experience understands that this question screams bit manipulation.

EDIT: It was sarcasm, YOU DID NOT DO BIT MANIPULATION.

you used sum() which uses "+" operator.

johnwick