---
title: "Discussion on \"LeetCode 151: Reverse Words in a String in Go\" | Hashnode"
description: "Discussion on \"LeetCode 151: Reverse Words in a String in Go\". Solve LeetCode 151 (Reverse Words in a String) in Go two ways, split/join and true in-place. Learn what O(1) space really means in Go."
url: "https://hashnode.com/posts/leetcode-151-reverse-words-in-a-string-in-go/6a85ce2e1f55df659f59cff2"
---

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

Discussion

# [LeetCode 151: Reverse Words in a String in Go](https://ferztyle.me/leetcode-151-reverse-words-in-a-string-in-go?utm_source=hashnode&utm_medium=feed)

Solve LeetCode 151 (Reverse Words in a String) in Go two ways, split/join and true in-place. Learn what O(1) space really means in Go.

Aug 19 · 11 min read · ferztyle.me  
Read the article

-   [#go](https://hashnode.com/tag/go)
-   [#golang](https://hashnode.com/tag/golang)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)
-   [#interview](https://hashnode.com/tag/interview)

## Written by

[Fer](https://hashnode.com/@ferztyle)

@ferztyle · Asuncion, Paraguay

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

Sr. DevOps/SRE

Hey, I'm Fer, a Senior SRE/DevOps engineer based in Asunción, Paraguay. My day-to-day life is at the intersection of cloud infrastructure, automation, and reliability, working with AWS, Kubernetes, and the tools that keep systems running at scale. A while back, I decided to go deeper into Go. Not just as a scripting language to replace Bash, but as a proper engineering discipline, learning how to design clean systems, write idiomatic Golang code, and build tools that last.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
