LeetCode-Go
✅ Solutions to LeetCode by Go, 100% test coverage, runtime beats 100% | LeetCode 题解
LeetCode in Go: a solutions repo with a cookbook attached
LeetCode-Go works through LeetCode problems in Go, keeping to the Google style guide and claiming full test coverage. There is also an e book cookbook that runs as a progressive web app.
The repository
A solutions repo in Go. The description claims 100 percent test coverage and runtimes that beat 100 percent of submissions. The README treats LeetCode as a source of interview questions, naming Google, Facebook, LinkedIn, and Apple as examples of companies whose interviews surface similar problems, and positions the repo as a way to level up coding skills before an interview. The homepage links to the author's site where the cookbook and other writing live.
The cookbook
Alongside the solutions sits the LeetCode Cookbook, an e book with online reading, progressive web app support, and a dark mode. It can be installed to a home screen from an iOS or Android browser, which makes it easy to study away from a desk. The code style in both the repo and the book follows the Google Golang Style Guide.
How progress is marked
Data structure topics carry a check mark when all their problems are solved, while the rest still show gaps. The directory shows 787 problems with solutions and another 11 still being optimized toward beating 100 percent of submissions. A personal stats table tracks easy, medium, and hard problems across the whole effort.
Reading between the lines
The tone is personal, one developer's running notebook on LeetCode, with a standing request to star the repo for support. The stats table, the completion rates, and the PWA cookbook all point at a long term personal project. Completion rates drop off steadily from easy to hard, which is an honest reflection of where the difficulty sits. Go, MIT license, first committed back in 2017.
Community notes