An open API service indexing awesome lists of open source software.

https://github.com/domenez-dev/leetcode-solutions

This repository contains my solutions to LeetCode problems, categorized by difficulty (Easy, Medium, Hard) and implemented in Go. Each solution includes solution and an explanation of the approach used.
https://github.com/domenez-dev/leetcode-solutions

Last synced: 2 months ago
JSON representation

This repository contains my solutions to LeetCode problems, categorized by difficulty (Easy, Medium, Hard) and implemented in Go. Each solution includes solution and an explanation of the approach used.

Awesome Lists containing this project

README

        

# LeetCode Solutions

# My LeetCode Solutions

This repository contains my solutions to various LeetCode problems across different difficulty levels.

![LeetCode Stats](https://leetcard.jacoblin.cool/domenez-dev?theme=catppuccinMocha&font=Nokora&ext=heatmap)
## Structure

The solutions are categorized by difficulty:

- **Easy**: `solutions/easy`
- **Medium**: `solutions/medium`
- **Hard**: `solutions/hard`

Each solution has:

- `main.go`: The Go implementation.
- `README.md`: Explanation of the solution.

## How to Run

1. Navigate to a solution's directory.
2. copy the solution to the leetcode problem that is linked in the readme file.
3. Chose go for programming language in leetcode and run tests.

## Notes

1. Readme files contains leetcode problem link and explanation of the solution.
2. The solutions are not necessarily the most idiomatic and optimal ones.
3. some solutions can have test cases that are not covered by the leetcode problem, this is because I have added some extra test cases to make sure the solution is correct.
4. If you want to create your own leetcode repository, you can use the `leetcode_init.sh` script to create the directory structure and files for you :).

---

My leetcode account [leetcode.com/u/domenez-dev/](https://leetcode.com/u/domenez-dev/)

Happy coding!