AI

Algorithmic thinking time! Reverse a string manually (without using .reverse()).

Your Task:

  • Loop backwards through text starting from the last character
  • Build a new string called reversedText
  • Add each character to reversedText one by one
TypeScript Solution
Loading...

Submit your code to see test results