Given two integers start and goal, determine the minimum number of bit flips needed to transform start into goal.
A bit flip of a number entails changing a single bit in its binary representation from
Constraints:
start, goal
Given two integers start and goal, determine the minimum number of bit flips needed to transform start into goal.
A bit flip of a number entails changing a single bit in its binary representation from
Constraints:
start, goal