exercism/zig/reverse-string
2024-09-20 17:07:22 -04:00
..
.exercism Zig: completed Reverse String 2024-09-20 17:07:22 -04:00
HELP.md Zig: completed Reverse String 2024-09-20 17:07:22 -04:00
README.md Zig: completed Reverse String 2024-09-20 17:07:22 -04:00
reverse_string.zig Zig: completed Reverse String 2024-09-20 17:07:22 -04:00
test_reverse_string.zig Zig: completed Reverse String 2024-09-20 17:07:22 -04:00

Reverse String

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

  • @ee7

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