Responses for exercises in Exercism.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Julio Biason 2928bd4acb Exercism: Rever string 3 years ago
..
.exercism Exercism: Rever string 3 years ago
src Exercism: Rever string 3 years ago
tests Exercism: Rever string 3 years ago
.gitignore Exercism: Rever string 3 years ago
Cargo.toml Exercism: Rever string 3 years ago
HELP.md Exercism: Rever string 3 years ago
README.md Exercism: Rever string 3 years ago

README.md

Reverse String

Welcome to Reverse String on Exercism's Rust Track. If you need help running the tests or submitting your code, check out HELP.md.

Instructions

Reverse a string

For example: input: "cool" output: "looc"

Test your function on this string: uüu and see what happens. Try to write a function that properly reverses this string. Hint: grapheme clusters

To get the bonus test to run, remove the ignore flag (#[ignore]) from the last test, and execute the tests with:

$ cargo test --features grapheme

You will need to use external libraries (a crate in rust lingo) for the bonus task. A good place to look for those is crates.io, the official repository of crates.

Check the documentation for instructions on how to use external crates in your projects.

Source

Created by

Contributed to by

Based on

Introductory challenge to reverse an input string - https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb