https://leetcode.com/problems/number-complement/
The following are two valid solutions for this problem, why did I run into an integer overflow in the first solution