Fetching data...
This may take a moment
Back
1189. Encode Number
Medium
Math
String
Bit Manipulation
Solve on LeetCode
View Solutions
Description
Hints
Hint 1
Try to find the number of binary digits returned by the function.
Hint 2
The pattern is to start counting from zero after determining the number of binary digits.
Similar Questions
Convert to Base -2
Medium
Statistics
Acceptance
70.3%
Submissions
12,281
Accepted
8,634