This repository contains my solutions to LeetCode problems implemented in Go (Golang).
I'm using this repository to practice and improve my Go programming skills by solving LeetCode problems. Each solution is designed to demonstrate my approach to problem-solving using Go.
/problems: Contains directories named after each LeetCode problem number.- Each problem directory includes a
README.mdwith the problem statement. - A
*.gofile contains the Go implementation of the solution.
To explore the solutions:
-
Clone the repository:
git clone https://github.com/lntvan166/leetcode.git
-
Navigate to a specific problem directory:
cd leetcode/problems/{problem-number} -
Read the problem description in
README.mdand review the solution insolution.go. -
Run and test the solution locally, if applicable.
Contributions are welcome! If you have improvements to the existing solutions or want to add new ones, feel free to open a pull request.
This repository is licensed under the Apache license.