This repository contains my solutions to LeetCode problems in Go.
easy/: Easy level problems.medium/: Medium level problems.hard/: Hard level problems.
In your root direction, run:
go test ./...If you only want to run tests in a specific problem (e.g., ./easy/0001_two_sum), run:
go test ./easy/0001_two_sumClean test cache
go clean -testcachego.yml: This workflow runs whenver new code is pushed to main or create a pull request
- Runs all Go tests
- Checks code formatting with
go fmt - Runs
go vetfor static analysis - Runs
staticcheckfor additional code quality checks
update-stats.yml: This runs whenever you push changes to your solution directory (easy/medium/hard). It:
- Counts the number of solutions in each level
- Update
README.mdwith current stats - Automaticall commits and pushes the changes
- Easy: 8 solutions
- Medium: 17 solutions
- Hard: 2 solutions
- Total: 27 solutions
MIT License
Copyright (c) 2025 Luan Nguyen