Reverse a string
For example: input: "cool" output: "looc"
For more help on how to solve this exercise, please refer to the tutorial provided as part of the hello world exercise: TUTORIAL.md
Go through the setup instructions for Java to install the necessary dependencies:
https://exercism.io/tracks/java/installation
You can run all the tests for an exercise by entering the following in your terminal:
$ gradle test
Use
gradlew.bat
if you're on Windows
In the test suites all tests but the first have been skipped.
Once you get a test passing, you can enable the next one by removing the
@Ignore("Remove to run test")
annotation.
Introductory challenge to reverse an input string https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb
It's possible to submit an incomplete solution so you can see how others have completed the exercise.