1) Grammatical improvement in wdmatch

2) added extra example to match the improve test in go-tests repo
This commit is contained in:
Chris 2021-06-14 14:34:54 +01:00
parent 12a837f49c
commit 09fc070d7b
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@
### Instructions
Write a program that takes two `string` and checks whether it is possible to write the first `string` with characters from the second `string`, while respecting the order in which these characters appear in the second `string`.
Write a program that takes two `string` and checks whether it is possible to write the first `string` with characters from the second `string`. This rewrite must respectSS the order in which these characters appear in the second `string`.
If it is possible, the program displays the `string` followed by a newline (`'\n'`), otherwise it simply displays nothing.
@ -11,6 +11,8 @@ If the number of arguments is different from 2, the program displays nothing.
### Usage
```console
$ go run . 123 123
123
$ go run . faya fgvvfdxcacpolhyghbreda
faya
$ go run . faya fgvvfdxcacpolhyghbred