Skip to content

Commit 1eec3d1

Browse files
authored
Update Squeaky Clean instructions (exercism#2857)
This is to make the substitutions in task 3 clear. The table in the linked Wiki page is ambiguous with some of the substitutions.
1 parent 1338484 commit 1eec3d1

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

exercises/concept/squeaky-clean/.docs/instructions.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,14 @@ SqueakyClean.clean("a-bc");
2929
## 3. Convert leetspeak to normal text
3030

3131
Modify the (_static_) `SqueakyClean.clean()` method to convert [leetspeak][leet-speak] to normal text.
32-
For simplicity we will only be using `4`, `3`, `0`, `1` and `7` from the table.
32+
33+
For simplicity we will only be replacing `4`, `3`, `0`, `1` and `7` with `a`, `e`, `o`, `l`, and `t`, respectively.
3334

3435
```java
3536
SqueakyClean.clean("H3ll0 W0rld");
3637
// => "Hello_World"
38+
SqueakyClean.clean("4 73s7");
39+
// => "a_test"
3740
```
3841

3942
## 4. Omit characters that are not letters

exercises/concept/squeaky-clean/.meta/config.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
"ystromm"
44
],
55
"contributors": [
6-
"sanderploegsma",
7-
"manumafe98"
6+
"jagdish-15",
7+
"manumafe98",
8+
"mrDonoghue",
9+
"sanderploegsma"
810
],
911
"files": {
1012
"solution": [

0 commit comments

Comments
 (0)