Skip to content

Commit 3d0226b

Browse files
reverse-string: sync (#190)
* Sync the `reverse-string` exercise's docs with the latest data. * Sync the `reverse-string` exercise's metadata with the latest data.
1 parent 6942bae commit 3d0226b

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Instructions
22

3-
Reverse a string
3+
Your task is to reverse a given string.
44

5-
For example:
6-
input: "cool"
7-
output: "looc"
5+
Some examples:
6+
7+
- Turn `"stressed"` into `"desserts"`.
8+
- Turn `"strops"` into `"sports"`.
9+
- Turn `"racecar"` into `"racecar"`.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Introduction
2+
3+
Reversing strings (reading them from right to left, rather than from left to right) is a surprisingly common task in programming.
4+
5+
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.

exercises/practice/reverse-string/.meta/config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
".meta/example.v"
1414
]
1515
},
16-
"blurb": "Reverse a string.",
16+
"blurb": "Reverse a given string.",
1717
"source": "Introductory challenge to reverse an input string",
1818
"source_url": "https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb"
1919
}

0 commit comments

Comments
 (0)