---
title: "Discussion on \"Reverse String in three steps - LeetCode 344 - Two Pointers\" | Hashnode"
description: "Discussion on \"Reverse String in three steps - LeetCode 344 - Two Pointers\". Hey everyone, Today we will solve LeetCode 344: Reverse String using two pointers approach.\nStep 1: Initialize Pointerswe are going to initialize the low at index 0, and the high at the last index.\ndef reverseString(s):\n    low = 0\n    high = len(s) ..."
url: "https://hashnode.com/posts/reverse-string-in-three-steps-leetcode-344-two-pointers/66d18eb617f902b674c0b266"
---

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

Discussion

# [Reverse String in three steps - LeetCode 344 - Two Pointers](https://kmdshojib.hashnode.dev/reverse-string-in-three-steps-leetcode-344-two-pointers?utm_source=hashnode&utm_medium=feed)

Hey everyone, Today we will solve LeetCode 344: Reverse String using two pointers approach. Step 1: Initialize Pointerswe are going to initialize the low at index 0, and the high at the last index. def reverseString(s): low = 0 high = len(s) ...

Aug 30, 2024 · 1 min read · kmdshojib.hashnode.dev  
Read the article

-   [#dsa](https://hashnode.com/tag/dsa)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Shojib](https://hashnode.com/@kmdshojib)

@kmdshojib

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

Front end developer

Hey, I'm Kamruzaman Shojib and I'm a front-end developer. I love to talk about tech mostly I'll be writing about JavaScript and trying to help the community.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
