Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions exercises/concept/secrets/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ There will be further steps in the decryption process that assume 0s are inserte
Implement the `Secrets.shiftBack` method that takes a value and the number of places to shift and peforms the shift.

```java
Secrets.shiftBack(0b1001, 2);s
Secrets.shiftBack(0b1001, 2);
# => 0b0010
```

Expand Down Expand Up @@ -40,7 +40,7 @@ If the bit is 1 in mask, the bit is flipped in the value.
All other bits are kept unchanged.

```java
Secrets.flipBits(0b1100, 0b0101)
Secrets.flipBits(0b1100, 0b0101);
# => 0b1001
```

Expand All @@ -53,6 +53,6 @@ The bits in the `value` should be set to 0 where the bit in the mask is 1.
All other bits should be kept unchanged.

```java
Secrets.applyMask(0b0110, 0b0101);
Secrets.clearBits(0b0110, 0b0101);
# => 0b0010
```