Find Next Largest Smallest Binary Numbers

# Introduction This Python challenge requires you to find the next largest number and the next smallest number with the same number of 1's as the given positive integer.

|60 : 00

Click the virtual machine below to start practicing