目录

力扣397. 整数替换

力扣397. Integer Replacement(整数替换)

将 n 变成 1 的最少操作次数。

示例 1:

../posts/01_学习/87_LeetCode/0397_整数替换/img/0397-1-description.png

输入:...
输出:...
解释:...

提示: