Sanjaykumar-IT/dsa-problems

Check if it is a power of 2

Aperta

#23 aperta il 29 ott 2024

 (0 commenti) (0 reazioni) (0 assegnatari)Java (4 fork)auto 404
hacktoberfesthactoberfest2024

Metriche repository

Star
 (1 stella)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Input n = 8 Output true ( 2^3=8)

Input n = 32 Output true (2 ^5=32) Input n = 15 Output false

Guida contributor