Browse Source

fixing advancedsortwordtab the en and the fr

pull/190/head
lee 6 years ago committed by Christopher Fremond
parent
commit
1cfdf7347f
  1. 4
      subjects/advancedsortwordarr.en.md
  2. 4
      subjects/advancedsortwordarr.fr.md
  3. 1
      subjects/advancedsortwordtab.en.md
  4. 1
      subjects/advancedsortwordtab.fr.md

4
subjects/advancedsortwordarr.en.md

@ -7,7 +7,7 @@ Write a function `AdvancedSortWordArr` that sorts a `string` array, based on the
### Expected function
```go
func AdvancedSortWordTab(array []string, f func(a, b string) int) {
func AdvancedSortWordArr(array []string, f func(a, b string) int) {
}
```
@ -26,7 +26,7 @@ import (
func main() {
result := []string{"a", "A", "1", "b", "B", "2", "c", "C", "3"}
piscine.AdvancedSortWordTab(result, piscine.Compare)
piscine.AdvancedSortWordArr(result, piscine.Compare)
fmt.Println(result)
}

4
subjects/advancedsortwordarr.fr.md

@ -7,7 +7,7 @@
### Fonction attendue
```go
func AdvancedSortWordTab(array []string, f func(a, b string) int) {
func AdvancedSortWordArr(array []string, f func(a, b string) int) {
}
```
@ -26,7 +26,7 @@ import (
func main() {
result := []string{"a", "A", "1", "b", "B", "2", "c", "C", "3"}
piscine.AdvancedSortWordTab(result, piscine.Compare)
piscine.AdvancedSortWordArr(result, piscine.Compare)
fmt.Println(result)
}

1
subjects/advancedsortwordtab.en.md

@ -1 +0,0 @@
## advancedsortwordtab

1
subjects/advancedsortwordtab.fr.md

@ -1 +0,0 @@
## advancedsortwordtab
Loading…
Cancel
Save