Sha256: ec7b0cf79da84f4ceda94a8626e4442bb06e49f46b270b5e36ddb39587f3d64d
Contents?: true
Size: 623 Bytes
Versions: 66
Compression:
Stored size: 623 Bytes
Contents
> There are 10 types of people in the world: Those who understand > binary, and those who don't. You and your fellow cohort of those in the "know" when it comes to binary decide to come up with a secret "handshake". ``` 1 = wink 10 = double blink 100 = close your eyes 1000 = jump 10000 = Reverse the order of the operations in the secret handshake. ``` Here's a couple of examples: Given the input 9, the function would return the array ["wink", "jump"] Given the input "11001", the function would return the array ["jump", "wink"] The program should consider strings specifying an invalid binary as the value 0.
Version data entries
66 entries across 66 versions & 1 rubygems