Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luaannguyen/go-leetcode
My Golang solutions for Leetcode ✏️
https://github.com/luaannguyen/go-leetcode
go golang leetcode leetcode-questions leetcode-solutions
Last synced: 1 day ago
JSON representation
My Golang solutions for Leetcode ✏️
- Host: GitHub
- URL: https://github.com/luaannguyen/go-leetcode
- Owner: LuaanNguyen
- License: mit
- Created: 2025-01-06T20:20:10.000Z (6 days ago)
- Default Branch: main
- Last Pushed: 2025-01-06T21:19:30.000Z (6 days ago)
- Last Synced: 2025-01-06T22:18:57.831Z (6 days ago)
- Topics: go, golang, leetcode, leetcode-questions, leetcode-solutions
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Daily LeetCode Solutions in Go ✏️
This repository contains my solutions to LeetCode problems in [Go](https://go.dev/).
### Folder Structure 🗂️
- `easy/`: Easy level problems.
- `medium/`: Medium level problems.
- `hard/`: Hard level problems.### Unit Testing 🧪
In your root direction, run:
```bash
go test ./...
```If you only want to run tests in a specific problem `(e.g., ./easy/0001_two_sum)`, run:
```bash
go test ./easy/0001_two_sum
```### Solutions (Continue Updating...)
| Leetcode ID | Title & Solution | Coefficient Of Difficulty | Remarks |
| :-----------------------------------------------------------------------------------: | :------------------------------------------- | :-----------------------: | :--------------------------------------: |
| [0001](https://leetcode.com/problems/two-sum/description/) | [Two Sum](/easy/) | Easy | _`HashMap`_ |
| [0392](https://leetcode.com/problems/is-subsequence/description/) | [Is Subsequence](/easy/) | Easy | _`Two Pointers`_ |
| [3042](https://leetcode.com/problems/count-prefix-and-suffix-pairs-i/description/) | [Count Prefix and Suffix Pairs I](/easy/) | Easy | _`Array`_ _`String`_ |
| [2185](https://leetcode.com/problems/counting-words-with-a-given-prefix/description/) | [Counting Words With a Given Prefix](/easy/) | Easy | _`Array`_ _`String`_ _`String Matching`_ |### License 🪪
```txt
MIT License
Copyright (c) 2025 Luan Nguyen
```