Fewest powers of two to add or subtract to reach zero
Given a positive integer n, one operation adds or subtracts any power of two. Return the fewest operations that bring n to 0.
No answer yet. Write the first one; the best answer gets endorsed.
