My attempts at exercism.org
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 30 lines 929 B view raw view rendered
1# Reverse String 2 3Welcome to Reverse String on Exercism's PHP Track. 4If you need help running the tests or submitting your code, check out `HELP.md`. 5 6## Introduction 7 8Reversing strings (reading them from right to left, rather than from left to right) is a surprisingly common task in programming. 9 10For 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. 11 12## Instructions 13 14Your task is to reverse a given string. 15 16Some examples: 17 18- Turn `"stressed"` into `"desserts"`. 19- Turn `"strops"` into `"sports"`. 20- Turn `"racecar"` into `"racecar"`. 21 22## Source 23 24### Created by 25 26- @MichaelBunker 27 28### Based on 29 30Introductory challenge to reverse an input string - https://www.freecodecamp.org/news/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb