This repository contains my (SergioRt1) solutions to various LeetCode problems.
The problems are taken from the list NeetCode 150.
To use the code in this repository, you will need to have a programming environment set up with the necessary programming languages installed. For each problem, there is a separate file containing the code written in a specific programming language.
To execute a solution, follow these steps:
-
Navigate to the problem folder using the
cdcommand.cd {{Problem Name}} -
Choose the appropriate language and execute the solution.
rustc solution.rs .\solutionpython solution.pygo run solution.go
The repository is organized in the following folder structure:
├── Problem Category
│ ├── #. Problem Name
│ │ ├── solution.go
│ │ └── solution.py
│ ├── ...
├── ...
- Problem Category: Contains folders categorized by problem category (e.g., Array, String, Graphs, etc.).
- Problem Name: Each problem is contained in its own folder, named after the problem's name with the corresponding number.
- solution.go: Code file containing the solution to the problem in Golang. Other programming languages may have their own corresponding file extensions.
This project is licensed under the Apache-2.0 License - see the LICENSE file for details