A curated collection of algorithmic problems, data structures, and competitive programming challenges.
This repository serves as a personal knowledge base for algorithmic problem solving. It maps the journey through LeetCode's extensive library, focusing on clean, efficient, and well-documented code.
The goal is not merely to solve, but to understand the underlying patterns—Graph Theory, Dynamic Programming, Greedy approaches, and more. Each solution is treated as a standalone study note.
To maintain organization and scalability across thousands of problems, the repository is structured by numerical ranges rather than arbitrary topic folders. This ensures a strictly ordered filesystem while allowing for topic-based tagging via internal file documentation.
- Source Code: Grouped in ranges of 100 (e.g.,
0001-0100). - Naming Convention:
ID-slug.ext(e.g.,0001-two-sum.cpp). - Documentation: Self-contained within solution files or adjacent Markdown notes.
/
├── solutions/
│ ├── 0001-0100/
│ │ ├── 0001-two-sum.cpp
│ │ └── ...
│ ├── 0101-0200/
│ └── ...
├── scripts/
│ └── automation-tools
└── README.md
An automated index of all solved problems will be generated here.
| ID | Title | Difficulty | Time | Space | Languages |
|---|---|---|---|---|---|
| 0001 | Two Sum - EN Two Sum - ES |
Easy | O(n) | O(n) | C, Rust |
| 0006 | Zig Zag Conversion - EN Zig Zag Conversion - ES |
Medium | O(n) | O(1) | C |
| 0008 | String To Integer - EN String To Integer - ES |
Medium | O(n) | O(1) | C |
| 3454 | Separate Squares Ii - EN Separate Squares Ii - ES |
Hard | O(N log N) | O(N) | C |
Primary languages used for implementation:
- C: For raw performance and low-level control, honoring the roots of systems programming.
- Rust: For modern safety, concurrency, and expressive correctness. The primary vehicle for reliable solutions.
This repository is dual-licensed to accommodate its different components:
- Automation Scripts (
/scripts): Licensed under the GNU General Public License v3.0 (GPLv3). This ensures that the tooling remains free and open source. - Solutions & Documentation (
/solutions): Provided as public domain / educational content. You are free to use, modify, and learn from them without restriction, though attributing the source is appreciated.
See the LICENSE file for the full GPLv3 text applicable to the codebase infrastructure.