Given two positive integers n and k, return the nth smallest positive integer that has exactly k set bits in its binary representation.
Constraints:
n
k
The answer is strictly less than
Given two positive integers n and k, return the nth smallest positive integer that has exactly k set bits in its binary representation.
Constraints:
n
k
The answer is strictly less than