[programmers][X] 다음 큰 숫자
in Algorithm on Algorithm
https://school.programmers.co.kr/learn/courses/30/lessons/12911
class Solution {
public int solution(int n) {
int cnt = Integer.bitCount(n++);
while(true){
if(Integer.bitCount(n++) == cnt) return n-1;
}
}
}