Given a positive integer n, return the smallest number x such that x n, and the binary representation of x consists exclusively of set bits (
Constraints:
n
Given a positive integer n, return the smallest number x such that x n, and the binary representation of x consists exclusively of set bits (
Constraints:
n