You are given two positive integers n and k.
In a single operation, you can choose any bit in the binary representation of n that is equal to
Return the number of operations needed to make n equal to k. If it is impossible to make n equal to k, return
Constraints:
n, k
You are given two positive integers n and k.
In a single operation, you can choose any bit in the binary representation of n that is equal to
Return the number of operations needed to make n equal to k. If it is impossible to make n equal to k, return
Constraints:
n, k