[LeetCode] 1342. Number of Steps to Reduce a Number to Zero 将数字变成 0 的操作次数

Given an integer num, return the number of steps to reduce it to zero. In one step, if the current number is even, you have to divide it by 2, otherwi
posted @ 2023-04-25 14:02  Grandyang  阅读(125)  评论(0编辑  收藏  举报
Fork me on GitHub