Is there a maximum time complexity¿

On Mar 1, 2:50 pm, bittu <[email protected]> wrote:
> Given an integer, print the next smallest and next largest number that
> have the same number of 1 bits in their binary representation.
>
> Example for n=12
> next smallest  with same no. of set bit is 17  but  to found next
> largest ..we have to be careful ..
>
> let c others ..??
>
> Thanks & Regards
> Shashank

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to