Write a function to add 2 integers using bitwise operations. — def add(a, b): while a: c = b & a b ^= a c <<= 1 a = c return b
G
1.2K
Google Interview
This flashcard deck made by jwasham contains knowledge about google interview. For more details, please follow https://github.com/jwasham/google-interview-university