---
title: "Discussion on \"Problem Solving | Reverse a string\" | Hashnode"
description: "Discussion on \"Problem Solving | Reverse a string\". Given a string, return a new string with the reversed order of characters.\nExamples:\nreverse('apple') === 'leppa'\nreverse('hello') === 'olleh'\nreverse('Greetings!') === '!sgniteerG'\nPseudo Solution:\n\nConvert the string to array\nReverse the array usin..."
url: "https://hashnode.com/posts/problem-solving-or-reverse-a-string/5ffb298ba538d00135155b12"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Problem Solving | Reverse a string](https://blog.chiragr.com/problem-solving-or-reverse-a-string?utm_source=hashnode&utm_medium=feed)

Given a string, return a new string with the reversed order of characters. Examples: reverse('apple') === 'leppa' reverse('hello') === 'olleh' reverse('Greetings!') === '!sgniteerG' Pseudo Solution: Convert the string to array Reverse the array usin...

Jan 10, 2021 · 1 min read · blog.chiragr.com  
Read the article

-   [#problem-solving-skills](https://hashnode.com/tag/problem-solving-skills)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Chirag Ramachandra](https://hashnode.com/@ChiragRamachandra)

@ChiragRamachandra · Bengaluru India

  
[View profile](https://hashnode.com/@ChiragRamachandra)

FullStack developer

Developer, trying to understand, learn and teach better.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
