1
1
Fork 0
exercism/jq/reverse-string
Christina Sørensen 3e35a17bc9
feat(jq): space age and string reverse
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-12-10 17:45:50 +01:00
..
.exercism feat(jq): space age and string reverse 2024-12-10 17:45:50 +01:00
bats-extra.bash feat(jq): space age and string reverse 2024-12-10 17:45:50 +01:00
bats-jq.bash feat(jq): space age and string reverse 2024-12-10 17:45:50 +01:00
HELP.md feat(jq): space age and string reverse 2024-12-10 17:45:50 +01:00
README.md feat(jq): space age and string reverse 2024-12-10 17:45:50 +01:00
reverse-string.jq feat(jq): space age and string reverse 2024-12-10 17:45:50 +01:00
test-reverse-string.bats feat(jq): space age and string reverse 2024-12-10 17:45:50 +01:00

Reverse String

Welcome to Reverse String on Exercism's jq 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

  • @glennj

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