Welcome to my repository of LeetCode Top 50 Dynamic Programming Solutions – a personal collection of Python solutions to help you (and me!) master one of the most fundamental areas in algorithmic problem solving.
This repository contains my Python solutions to the Top 50 Dynamic Programming problems from LeetCode’s official study plan.
It covers a broad range of essential DP patterns used in interviews at top tech companies.
Each solution is clean, optimized, and structured for easy understanding and revision.
- Fibonacci Style
- Matrix DP
- On Strings
- Longest Increasing Subsequence
- Longest Common Subsequence
- Best Time to Buy & Sell Stock / State Machine
- On Trees
- Knapsack (0/1)
- General 1D DP
- Each problem is saved in a separate
.pyfile. - File names follow the format:
##-Problem Title.py - Example:
01-Climbing Stairs.py
All solutions are written in Python 3, with comments and clear logic where needed.
Adit Mugdha Das
B.Sc. in Computer Science & Engineering
Khulna University of Engineering & Technology (KUET)
GitHub: github.com/Adit-Mugdha-das
LeetCode: leetcode.com/Mugdha_118
If this repository helped you or inspired you, don’t forget to star it!