Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day 338 #675

Closed
vaskoz opened this issue Jul 26, 2019 · 0 comments · Fixed by #683
Closed

Day 338 #675

vaskoz opened this issue Jul 26, 2019 · 0 comments · Fixed by #683
Assignees

Comments

@vaskoz
Copy link
Owner

vaskoz commented Jul 26, 2019

Good morning! Here's your coding interview problem for today.

This problem was asked by Facebook.

Given an integer n, find the next biggest integer with the same number of 1-bits on. For example, given the number 6 (0110 in binary), return 9 (1001).

@vaskoz vaskoz self-assigned this Jul 26, 2019
@vaskoz vaskoz mentioned this issue Jul 31, 2019
@vaskoz vaskoz mentioned this issue Feb 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant