This website requires JavaScript.
Explore
Help
Sign In
education
/
exercism
Watch
1
Star
0
Fork
You've already forked exercism
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
34e04eff6a
exercism
/
elixir
/
secret-handshake
/
HINTS.md
297 B
Raw
Blame
History
Hints
General
Use
Bitwise
(or div/rem).
If you use
Bitwise
, an easy way to see if a particular bit is set is to compare the binary AND (
&&&
) of a set of bits with the particular bit pattern you want to check, and determine if the result is the same as the pattern you're checking.