How halfrost/leetcode-go works
This repository is primarily a Go reference collection of LeetCode solutions, presented alongside the *LeetCode Cookbook* online/PWA and downloadable PDF editions. A learner can browse a problem’s solution in the collection or study it through the book; the README documents these offerings, but the sampled files do not show a content-generation or web-serving pipeline. The algorithm groups are representative topic areas, not a runtime call sequence. The tree also shows shared tree and segment-tree code; source evidence is limited, so no unverified wiring is asserted.
Main entry points: 704. Binary Search.go Search and Arrays · 98. Validate Binary Search Tree.go Tree Algorithms · 5. Longest Palindromic Substring.go Strings and Windows · 82. Remove Duplicates from Sorted List II.go Lists and Stacks
Components 15
Go Solutions
- Search and Arrays
leetcode/0704.Binary-Search/704. Binary Search.go - Strings and Windows
leetcode/0005.Longest-Palindromic-Substring/5. Longest Palindromic Substring.go - Lists and Stacks
leetcode/0082.Remove-Duplicates-from-Sorted-List-II/82. Remove Duplicates from Sorted List II.go - Tree Algorithms
leetcode/0098.Validate-Binary-Search-Tree/98. Validate Binary Search Tree.go - Graph Search
leetcode/0815.Bus-Routes/815. Bus Routes.go - Dynamic Programming
leetcode/0509.Fibonacci-Number/509. Fibonacci Number.go - Backtracking
leetcode/0079.Word-Search/79. Word Search.go - Math and Bits
leetcode/0167.Two-Sum-II-Input-array-is-sorted/167. Two Sum II - Input array is sorted.go
Shared Structures
- Tree Types
structures/TreeNode.go - Segment Tree
template/SegmentTree.go
Cookbook Editions
- Online Cookbook
website - PDF Edition
ctl/pdf.go
Web Support
- PWA Support
website/sw-src/serviceworker.js
Other components
- Learner
- Online Reader
Connections 13
- Learner → Search and Arrays: studies solutions
README.md - Learner → Strings and Windows: studies solutions
README.md - Learner → Lists and Stacks: studies solutions
README.md - Learner → Tree Algorithms: studies solutions
README.md - Learner → Graph Search: studies solutions
README.md - Learner → Dynamic Programming: studies solutions
README.md - Learner → Backtracking: studies solutions
README.md - Learner → Math and Bits: studies solutions
README.md - Online Reader → Online Cookbook: reads online
README.md - Learner → PDF Edition: downloads edition
README.md - Online Reader → PWA Support: installs PWA
README.md - Tree Algorithms → Tree Types: uses types
leetcode/0098.Validate-Binary-Search-Tree/98. Validate Binary Search Tree.go - Search and Arrays → Segment Tree: uses structure