[LeetCode] 1404. Number of Steps to Reduce a Number in Binary Representation to One
Link : 1404. Number of Steps to Reduce a Number in Binary Representation to One
문제 설명
Given the binary representation of an integer as a string s, return the number of steps to reduce it to 1 under the following rules:
If the current number is even...
blog.hyunjun.org3 min read