C++
IntuitionApproachComplexity

Time complexity:


Space complexity:

Code
# Intuition


# Approach


# Complexity
- Time complexity:


- Space complexity:


# Code
```cpp []
class Solution {
public:
    int smallestNumber(int n) {
        n+=1
        while((n & n-1) != 0){
            n++;
        }
        return n-1;
    }
};
```
['C++']