|
|
|
@ -26,9 +26,9 @@ import (
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
func main() { |
|
|
|
|
fmt.Print(ReverseSecondHalf("This is the 1st half This is the 2nd half")) |
|
|
|
|
fmt.Print(ReverseSecondHalf("")) |
|
|
|
|
fmt.Print(ReverseSecondHalf("Hello World")) |
|
|
|
|
ReverseSecondHalf("This is the 1st half This is the 2nd half") |
|
|
|
|
ReverseSecondHalf("") |
|
|
|
|
ReverseSecondHalf("Hello World") |
|
|
|
|
} |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
@ -39,4 +39,4 @@ $ go run . | cat -e
|
|
|
|
|
flah dn2 eht si sihT$ |
|
|
|
|
Invalid Output$ |
|
|
|
|
dlroW$ |
|
|
|
|
``` |
|
|
|
|
``` |
|
|
|
|