Skip to content

Commit c6bf83f

Browse files
reverse-string: sync (#2652)
1 parent a8593a7 commit c6bf83f

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed
Lines changed: 6 additions & 4 deletions
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"`.
Lines changed: 5 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"build.gradle"
3434
]
3535
},
36-
"blurb": "Reverse a string.",
36+
"blurb": "Reverse a given string.",
3737
"source": "Introductory challenge to reverse an input string",
3838
"source_url": "https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb"
3939
}

0 commit comments

Comments
 (0)