July 26, 2021
def solution(n): save = n while True: next = n + 1 if bin(next).count("1") == bin(save).count("1"): return next else: n += 1
GitHubVelogFacebook