Given a number k find n such that count of set bits from 1 to n is atleast k
Answers
Answered by
0
Input: n = 3 Output: 4 Input: n = 6 Output: 9 Input: n = 7 Output: 12 Input: n = 8 Output: 13
Similar questions