1-line Go Solution
\nfunc findComplement(num int) int {\n\treturn (1<<(bits.Len(uint(num))) - 1) ^ num\n}\n
```\nfunc findComplement(num int) int {\n\treturn (1<<(bits.Len(uint(num))) - 1) ^ num\n}\n```
['Go']