Log in with Facebook
Log in
Sign up
Welcome to MindCipher
, a social repository of the world's greatest brain teasers, logic puzzles and mental challenges.
Sort by:
Likes
Most Popular
Likes
Newest
Oldest
Hardest
Easiest
Filtered by tag:
powers
3
4
Power of 2 (Microsoft Interview)
Given any number n, using one line of C (using no external libraries or functions) code, determine if n is a power of 2. Return 1 if n is a power of 2 and 0 if not.
bitwise
powers
Submitted by
Aakash
Doable
6.0
Popular Tags
Math
Lateral
physics
science
logic
interview
brain teaser
google
open-ended
patterns
sequences
geometry
mathematical
logical
illusion
contradiction
relativity
riddle
word puzzle
mathematics
ratios
amazon
databases
number theory
reasoning
probability
statistics
help
lateral thinking
cryptography
combinatorics
rates
trigonometry
algebra
funny
paradox
algorithm
programming
bitwise
powers
Computer Science
chemistry
unsolved
optical illusion
proof
deduction
inference
chess
proofs
set partition
set theory
graph theory applications
spatial
dates
modular arithmetic
Maths
Puzzle
binary
number systems
ProblemsMakeYouHungry
hungry
pizza
prisoners
hats
expected value
infinity
teaser
brain training
IQ
brain game
Arithmetic-Mathematics
Hollywood movie puzzle
movie puzzle
movie title puzzle
CATALYSTS puzzle
equivilance classes
Facebook, Twitter,
et al.
Follow @MindCipher