If n is odd, replace n with either n + 1 or n - 1 . Return the minimum number of operations needed for n to become 1 . Example 1: Input: n = 8 ...
確定! 回上一頁