[Kotlin] fun getSum(a: Int, b: Int): Int = if (b == 0) a else getSum(a xor b, (a and b).shl(1))
\nfun getSum(a: Int, b: Int): Int = if (b == 0) a else getSum(a xor b, (a and b).shl(1))\n
```\nfun getSum(a: Int, b: Int): Int = if (b == 0) a else getSum(a xor b, (a and b).shl(1))\n```
['Bit Manipulation', 'Kotlin']