Reverse a string
For example: input: "cool" output: "looc"
Preserve grapheme clusters, i.e.
myreverse("hi 👋🏾") == "👋🏾 ih"
myreverse("as⃝df̅") == "f̅ds⃝a"
You will probably find the Unicode
stdlib useful for this bonus task.
To enable the graphemes test, add const TEST_GRAPHEMES = true
to the global scope of your file.
Preserve grapheme clusters, i.e.
myreverse("hi 👋🏾") == "👋🏾 ih"
myreverse("as⃝df̅") == "f̅ds⃝a"
You will probably find the Unicode
stdlib useful for this bonus task.
To enable the graphemes test, add const TEST_GRAPHEMES = true
to the global scope of your file.
Sign up to Exercism to learn and master Julia with 52 exercises, and real human mentoring, all for free.