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

Version Path
trackler-2.0.6.10 common/exercises/secret-handshake/description.md
trackler-2.0.6.9 common/exercises/secret-handshake/description.md
trackler-2.0.6.8 common/exercises/secret-handshake/description.md
trackler-2.0.6.7 common/exercises/secret-handshake/description.md
trackler-2.0.6.6 common/exercises/secret-handshake/description.md
trackler-2.0.6.5 common/exercises/secret-handshake/description.md
trackler-2.0.6.4 common/exercises/secret-handshake/description.md
trackler-2.0.6.3 common/exercises/secret-handshake/description.md
trackler-2.0.6.2 common/exercises/secret-handshake/description.md
trackler-2.0.6.1 common/exercises/secret-handshake/description.md
trackler-2.0.6.0 common/exercises/secret-handshake/description.md
trackler-2.0.5.18 common/exercises/secret-handshake/description.md
trackler-2.0.5.17 common/exercises/secret-handshake/description.md
trackler-2.0.5.16 common/exercises/secret-handshake/description.md
trackler-2.0.5.15 common/exercises/secret-handshake/description.md
trackler-2.0.5.14 common/exercises/secret-handshake/description.md
trackler-2.0.5.13 common/exercises/secret-handshake/description.md
trackler-2.0.5.12 common/exercises/secret-handshake/description.md
trackler-2.0.5.11 common/exercises/secret-handshake/description.md
trackler-2.0.5.10 common/exercises/secret-handshake/description.md