Skip to content

Conversation

hitaishi-goel
Copy link

This PR has corrected the right shifted method (algorithmic method) in the function to preserve the sign of integer.

Fixes #1152

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 this pull request may close these issues.

Is not arithmetic shift better in countSetBits.js?
2 participants