From 1c0526fd0df159c46c9b5117704894ec49158cd0 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 22 Sep 2018 15:26:42 +0200 Subject: solve reverse string --- go/reverse-string/README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 go/reverse-string/README.md (limited to 'go/reverse-string/README.md') diff --git a/go/reverse-string/README.md b/go/reverse-string/README.md new file mode 100644 index 0000000..43f446b --- /dev/null +++ b/go/reverse-string/README.md @@ -0,0 +1,31 @@ +# Reverse String + +Reverse a string + +For example: +input: "cool" +output: "looc" + +## Running the tests + +To run the tests run the command `go test` from within the exercise directory. + +If the test suite contains benchmarks, you can run these with the `--bench` and `--benchmem` +flags: + + go test -v --bench . --benchmem + +Keep in mind that each reviewer will run benchmarks on a different machine, with +different specs, so the results from these benchmark tests may vary. + +## Further information + +For more detailed information about the Go track, including how to get help if +you're having trouble, please visit the exercism.io [Go language page](http://exercism.io/languages/go/resources). + +## Source + +Introductory challenge to reverse an input string [https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb](https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb) + +## Submitting Incomplete Solutions +It's possible to submit an incomplete solution so you can see how others have completed the exercise. -- cgit v1.2.3