عكس سلسلة نصية

عكس سلسلة نصية

اعكس سلسلة نصية معطاة.
تعمّق في عكس سلسلة نصية!

استكشف 14 طريقة مختلفة لعكس سلسلة نصية، وتعرّف على مجموعة من الموضوعات تشمل نقاط ترميز Unicode، والغرافيمات، وتخصيصات المكدس مقابل الكومة، والمؤشرات. استرخِ واستمتع بـ 45 دقيقة من التعلّم مع Jeremy و Erik.

التعليمات

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.

Your task is to reverse a given string.

Some examples:

  • Turn "stressed" into "desserts".
  • Turn "strops" into "sports".
  • Turn "racecar" into "racecar".