Skip to content

Commit

Permalink
Update Squeaky Clean instructions (#2857)
Browse files Browse the repository at this point in the history
This is to make the substitutions in task 3 clear. The table in the linked Wiki page is ambiguous with some of the substitutions.
  • Loading branch information
jagdish-15 authored Nov 6, 2024
1 parent 1338484 commit 1eec3d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion exercises/concept/squeaky-clean/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@ SqueakyClean.clean("a-bc");
## 3. Convert leetspeak to normal text

Modify the (_static_) `SqueakyClean.clean()` method to convert [leetspeak][leet-speak] to normal text.
For simplicity we will only be using `4`, `3`, `0`, `1` and `7` from the table.

For simplicity we will only be replacing `4`, `3`, `0`, `1` and `7` with `a`, `e`, `o`, `l`, and `t`, respectively.

```java
SqueakyClean.clean("H3ll0 W0rld");
// => "Hello_World"
SqueakyClean.clean("4 73s7");
// => "a_test"
```

## 4. Omit characters that are not letters
Expand Down
6 changes: 4 additions & 2 deletions exercises/concept/squeaky-clean/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
"ystromm"
],
"contributors": [
"sanderploegsma",
"manumafe98"
"jagdish-15",
"manumafe98",
"mrDonoghue",
"sanderploegsma"
],
"files": {
"solution": [
Expand Down

0 comments on commit 1eec3d1

Please sign in to comment.