Sanjaykumar-IT/dsa-problems

Check No.of bits set to 1

オープン

#20 opened on 2024/10/15

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Java (4 件のフォーク)auto 404
hacktoberfesthactoberfest2024

Repository metrics

Stars
 (1 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド