This website works better with JavaScript
Home
Esplora
Aiuto
Accedi
ikachan
/
leetcode-go
Segui
1
Vota
1
Forka
0
File
Problemi
0
Pull Requests
0
Wiki
Albero (Tree):
fad99dfa11
Rami (Branch)
Tag
master
leetcode-go
/
leetcode
/
easy
/
371.sum-of-two-integers.go
371.sum-of-two-integers.go
84 B
Cronologia
Originale
1
2
3
4
5
6
func getSum(a int, b int) int {
for b != 0 {
a, b = a^b, (a&b)<<1
}
return a
}