Sanjaykumar-IT/dsa-problems

Check if it is a power of 2

Open

#23 opened on Oct 29, 2024

 (0 comments) (0 reactions) (0 assignees)Java (4 forks)auto 404
hacktoberfesthactoberfest2024

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

Description

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

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

Contributor guide