Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.5K+ articles
DSA
22.8K+ articles
Misc
8.8K+ articles
Mathematical
7.8K+ articles
Arrays
6.5K+ articles
Competitive Programming
3.3K+ articles
Strings
3.3K+ articles
Algorithms
2.0K+ articles
Matrix
1.3K+ articles
Recursion
1.0K+ articles
DSA
/
Algorithms
/
Dynamic Programming
Dynamic Programming
1.6K+ posts
Recent Articles
Popular Articles
Commonly Asked Data Structure Interview Questions on Dynamic Programming
Last Updated: 03 March 2025
Dynamic Programming (DP) is a method used to solve optimization problems by breaking them down into simpler subproblems and solving each subproblem just once, storing the ...
read more
Dynamic Programming
DSA
Dynamic Programming in Python
Last Updated: 14 February 2025
Dynamic Programming is a commonly used algorithmic technique used to optimize recursive solutions when same subproblems are called again.The core idea behind DP is to stor...
read more
Dynamic Programming
Python
Python-DSA
DP Problems Topic Wise
Last Updated: 13 March 2025
DP Problems on MathsFibonacci NumbersTribonacci NumbersLucas NumberBinomial CoefficientPascal's Triangle GenerationNth Row of Pascal TriangleCatalan Number Matrix Chain Mu...
read more
Interview Experiences
Dynamic Programming
DSA
DP Problems Dimension Wise (1D, 2D and 3D)
Last Updated: 05 May 2025
When we solve a Dynamic Programming (DP) problem, we store solution in an array. The dimensions of the array are dependent on number of variables that change in recursive ...
read more
Dynamic Programming
DSA
DP Standard Problem Variations
Last Updated: 02 December 2024
When we solve Dynamic Programming problems, we try to find a pattern by matching pattern with a standard DP problem. This is generally recommended to solve new DP problems...
read more
Dynamic Programming
Fibonacci
LIS
LCS
catalan
binomial coefficient
DSA
Climbing Stairs - Count ways to reach Nth stair (Order does not matter)
Last Updated: 05 October 2024
There arenstairs, and a person standing at the bottom wants to reach the top. The person can climb either1 stair or 2 stairs at a time. Count the number of ways, the perso...
read more
Dynamic Programming
Mathematical
DSA
Minimum Amount to Paint the Walls
Last Updated: 21 August 2024
Given two 0-indexed integer arrays, cost[] and time[] of size n representing the costs and the time taken to paint n different walls respectively. There are two painters a...
read more
Dynamic Programming
DE Shaw
Picked
DSA
Count Ways to Build House of Cards
Last Updated: 28 June 2024
Given N playing cards, the task is to return the number of distinct house of cards we can build using all N cards. A house of cards meets the following conditions:A house...
read more
Dynamic Programming
Picked
Airbnb
Interview-Questions
DSA
Jump Game III Problem
Last Updated: 14 June 2024
Given an array arr[] of non-negative integers size N, the task is to start from index X and check if we can reach any index with value 0. For any index i, we can jump to i...
read more
Adobe
Dynamic Programming
BFS
Picked
DSA
Find Longest Palindromic Subsequence II
Last Updated: 09 November 2024
Given a string s, return the length of the longest good palindromic subsequence in s such that:It has an even length.No two consecutive characters are equal, except the tw...
read more
Strings
Codenation
Dynamic Programming
Picked
Interview-Questions
DSA
Traveling Salesman Problem (TSP) in Python
Last Updated: 31 May 2024
The Traveling Salesman Problem (TSP) is a classic algorithmic problem in the fields of computer science and operations research. It involves finding the shortest possible ...
read more
Graph
Dynamic Programming
Picked
Python-DSA
DSA
Unbounded Knapsack in Python
Last Updated: 30 May 2024
Given a set of items, each with a weight and a value, and a knapsack with a maximum weight capacity, the task is to determine the maximum value that can be obtained by put...
read more
Arrays
Dynamic Programming
Picked
Python-DSA
DSA
Assign Campus Bikes to Workers II
Last Updated: 11 June 2024
On a 2D grid representing a campus, there are n workers and m bikes, with 1 = n = m = 10. Each worker and bike is assigned a 2D coordinate on this grid. The tasks is to as...
read more
Arrays
Google
Dynamic Programming
Bit Algorithms
Picked
DSA
Find the Best Sightseeing Pair
Last Updated: 31 May 2024
Given an integer array arr[] where arr[i] represents the value of the ith sightseeing spot. Two sightseeing spots i and j have a distance j - i between them. The score of ...
read more
Arrays
Google
Dynamic Programming
Picked
DSA
Number of Ways to Handshakes That Don't Cross
Last Updated: 30 May 2024
Given an even number of people n, who are standing in a circle. Each person shakes hands with one other person, resulting in a total of n/2 handshakes. The task is to find...
read more
Amazon
Dynamic Programming
Picked
DSA
1
2
3
4
...
107
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !