Skip to content

Doardot/LeetCode-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LeetCode Solutions

Welcome to my personal LeetCode repository.

This project documents my journey of learning data structures and algorithms, with the main objective of leveling up my problem-solving skills.

Repository Structure

This repository is intentionally structured to be problem-centric. Instead of hunting for scattered files, everything related to a specific problem is grouped into a single folder.

Inside the algorithms/ directory, you will find folders named by the LeetCode problem number and title. Each folder typically contains:

  • The Code: Implementations in C++, Java, and/or Python.
  • The Process: A notes.md file detailing my thought process, time/space complexity analysis, and the algorithmic patterns used to reach the optimal solution.
algorithms/
β”œβ”€β”€ 001-Two-Sum/
β”‚   β”œβ”€β”€ TwoSum.cpp
β”‚   β”œβ”€β”€ TwoSum.java
β”‚   β”œβ”€β”€ TwoSum.py
β”‚   └── notes.md

Profile

If interested in my profile, you can check out my Leetcode Account.

Progress Tracker

Below is a running log of the problems I have solved, complete with links directly to my code and notes.

# Problem Title Solutions Difficulty Core Concept
001 Two Sum C++ Java Python 🟒 Easy Arrays, Hash Map
011 Container With Most Water Java 🟑 Medium Two Pointers
053 Maximum Subarray Python 🟑 Medium Dynamic Programming, Kadane's
121 Best Time to Buy and Sell Stock Python 🟒 Easy Sliding Window
217 Contains Duplicate C++ Python 🟒 Easy Arrays, Hash Set
268 Missing Number C++ 🟒 Easy Bit Manipulation, Math
738 Monotone Increasing Digits Java 🟑 Medium Greedy, Math
912 Sort an Array Java 🟑 Medium Divide and Conquer (Merge/Quick Sort)

About

Repository containing all my leetcode submissions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors