reverse-string: sync (#3598)

* Sync the `reverse-string` exercise's docs with the latest data.

* Sync the `reverse-string` exercise's metadata with the latest data.
This commit is contained in:
Erik Schierboom
2024-01-18 20:13:55 +01:00
committed by GitHub
parent 2a276fb5e3
commit e1879a3f60
3 changed files with 12 additions and 5 deletions

View File

@@ -1,7 +1,9 @@
# Instructions
Reverse a string
Your task is to reverse a given string.
For example:
input: "cool"
output: "looc"
Some examples:
- Turn `"stressed"` into `"desserts"`.
- Turn `"strops"` into `"sports"`.
- Turn `"racecar"` into `"racecar"`.

View File

@@ -0,0 +1,5 @@
# 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.

View File

@@ -22,7 +22,7 @@
".meta/example.py"
]
},
"blurb": "Reverse a string.",
"blurb": "Reverse a given string.",
"source": "Introductory challenge to reverse an input string",
"source_url": "https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb"
}