Browse Source

Delete README.md

pull/2057/head
Hamza elkhatri 2 years ago committed by MSilva95
parent
commit
089cdf3bfa
  1. 35
      subjects/argsort/README.md
  2. 4
      subjects/fromto/README.md

35
subjects/argsort/README.md

@ -1,36 +1 @@
## argsort
### Instructions
Write a program that checks if an argument is sorted or not, the comparison should be by index of ascii and all printable characters will be used.
- Your program should return `T` followed by a newline `\n` if the argument is sorted.
- Your program should return `F` followed by a newline `\n` if the argument is not sorted.
- If the number of arguments is different from 2, do nothing.
### Usage
And it's output should be:
```console
$ go run . | cat -e
$ go run . a | cat -e
T$
$ go run . "zA1" | cat -e
F$
$ go run . " 5ABc" | cat -e
T$
$ go run . " s" | cat -e
T$
$ go run . "s " | cat -e
F$
$ go run . "a b c" | cat -e
F$
$ go run . " abc" | cat -e
T$
$ go run . "2?@@^_\`abc" | cat -e
T$
$ go run . "Hello World" | cat -e
F$
$ go run . "01Talent" "student" | cat -e
```

4
subjects/fromto/README.md

@ -14,15 +14,14 @@
- Add a new line (`'\n'`) at the end of the string.
### Expected function
```go
func FromTo(from int, to int) string {
}
```
### Usage
Here is a possible program to test your function :
@ -41,6 +40,7 @@ func main() {
fmt.Println(FromTo(100, 10))
}
```
And its output :
```console

Loading…
Cancel
Save