Given a positive integer n, you can perform one of the following operations:
If n is even, replace n with n
If n is odd, replace n with either n n
Return the minimum number of operations required for n to become
Constraints:
n
Given a positive integer n, you can perform one of the following operations:
If n is even, replace n with n
If n is odd, replace n with either n n
Return the minimum number of operations required for n to become
Constraints:
n