LeetCode 151: Reverse Words in a String in Go
The problem that looks simple until the whitespace shows up You open LeetCode 151 — Reverse Words in a String expecting a variation on reversing a string, and mostly, that's right. Given "the sky is b

Series
This series is my notebook for learning Go properly, not just using it, but understanding it deeply Every post takes one LeetCode challenge and uses it as a lens to explain one Go concept from scratch. The problem is the excuse; the Go concept is the point. Posts start easy and get harder as the series grows.

The problem that looks simple until the whitespace shows up You open LeetCode 151 — Reverse Words in a String expecting a variation on reversing a string, and mostly, that's right. Given "the sky is b

Why I started this series A while back, I went through a job interview that included a coding challenge. It looked pretty easy, so I finished in like 90 seconds, and all tests passed! Then, the (non-t