hacktoberfesthactoberfest2024
仓库指标
- 星标
- (1 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Given a number, calculate the no.of bits that are set to 1 for its binary representation
Input: 7 Output 3
Input 8 Output 1
Input 0 Output 0
Given a number, calculate the no.of bits that are set to 1 for its binary representation
Input: 7 Output 3
Input 8 Output 1
Input 0 Output 0