Sponsored
Use these hints if you're stuck. Try solving on your own first.
Try to find the number of binary digits returned by the function.
The pattern is to start counting from zero after determining the number of binary digits.
Solve with full IDE support and test cases