Skip to content

simonesiega/leetcode-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Solutions Logo

LeetCode Solutions

Roadmap-based Python 3 solutions for data structures, algorithms, and technical interview preparation.

LeetCode solutions Python 3 Solved problems: 7 Current Roadmap: NeetCode 150

Overview

This repository is my personal LeetCode workspace, built to study data structures and algorithms in a structured way.

Instead of collecting solutions in one flat folder, problems are grouped by roadmap and topic. The current roadmap follows neetcode-150, based on the NeetCode roadmap: https://neetcode.io/roadmap.

Current Progress

This repository is updated regularly as I solve new problems. The progress table and solved-problem count are refreshed every few days.

Roadmap Topic Solved
neetcode-150 Arrays & Hashing 7

Current solved problems:

Problem Title File Link
1 Two Sum neetcode-150/arrays&hashing/1.py Two Sum Link
49 Group Anagrams neetcode-150/arrays&hashing/49.py Group Anagrams Link
217 Contains Duplicate neetcode-150/arrays&hashing/217.py Contains Duplicate Link
238 Product of Array Except Self neetcode-150/arrays&hashing/238.py Product of Array Except Self Link
242 Valid Anagram neetcode-150/arrays&hashing/242.py Valid Anagram Link
271 Encode and Decode Strings neetcode-150/arrays&hashing/271.py Encode and Decode Strings Link
347 Top K Frequent Elements neetcode-150/arrays&hashing/347.py Top K Frequent Elements Link

Organization

The repository is organized around a clear path from roadmap to topic to individual problem. Each file belongs to a specific preparation roadmap, then to the topic that problem is meant to practice, and finally to the LeetCode problem number.

roadmap / topic / problem-number.py

Example:

neetcode-150 / arrays&hashing / 217.py

This makes the repository easy to scan and expand over time. Related problems stay close to each other, so it is easier to compare approaches, recognize repeated patterns, and review progress topic by topic.

Solution Style

All solutions are written in Python 3.

The style is intentionally simple. These are interview-practice solutions, so the focus is on clarity, direct implementation, and understanding the core idea behind each problem.

This repository is not a package, framework, or production library. It is a structured archive of solved problems and learning progress.

License

This repository is licensed under the MIT License.

About

Personal collection of Leetcode solutions in Python 3.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages