mirror of
https://codeberg.org/andyscott/exercism.git
synced 2024-11-14 07:10:48 -05:00
30 lines
917 B
Markdown
30 lines
917 B
Markdown
|
# Reverse String
|
||
|
|
||
|
Welcome to Reverse String on Exercism's Zig Track.
|
||
|
If you need help running the tests or submitting your code, check out `HELP.md`.
|
||
|
|
||
|
## Introduction
|
||
|
|
||
|
Reversing strings (reading them from right to left, rather than from left to right) is a surprisingly common task in programming.
|
||
|
|
||
|
For example, in bioinformatics, reversing the sequence of DNA or RNA strings is often important for various analyses, such as finding complementary strands or identifying palindromic sequences that have biological significance.
|
||
|
|
||
|
## Instructions
|
||
|
|
||
|
Your task is to reverse a given string.
|
||
|
|
||
|
Some examples:
|
||
|
|
||
|
- Turn `"stressed"` into `"desserts"`.
|
||
|
- Turn `"strops"` into `"sports"`.
|
||
|
- Turn `"racecar"` into `"racecar"`.
|
||
|
|
||
|
## Source
|
||
|
|
||
|
### Created by
|
||
|
|
||
|
- @ee7
|
||
|
|
||
|
### 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
|