Skip to content

Commit

Permalink
Sync the reverse-string exercise's docs with the latest data.
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Jan 18, 2024
1 parent faf8fd1 commit 45ea04c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
10 changes: 6 additions & 4 deletions exercises/practice/reverse-string/.docs/instructions.md
Original file line number Diff line number Diff line change
@@ -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"`.
5 changes: 5 additions & 0 deletions exercises/practice/reverse-string/.docs/introduction.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 45ea04c

Please sign in to comment.