Dynamic Programming: GATE CS previous year questions
Dynamic Programming is part of Algorithms in the GATE CS syllabus. This page lists 10 past-paper questions on it from official GATE CS papers.
Dynamic programming
- Assume that multiplying a matrix G₁ of dimension p × q with another matrix G₂ of…
- Let A be an array containing integer values. The distance of A is defined as the minimum…
- An algorithm to find the length of the longest monotonically increasing sequence of…
- Suppose you want to move from 0 to 100 on the number line. In each step, you either move…
- Let A₁, A₂, A₃, and A₄ be four matrices of dimensions 10 × 5, 5 × 20, 20 × 10, and 10 ×…
- Consider a table T, where the elements T[i][j], 0 ≤ i, j ≤ n, represent the cost of the…
- The Floyd-Warshall algorithm for all-pair shortest paths computation is based on
- Define Rₙ to be the maximum amount earned by cutting a rod of length n meters into one…
- Four matrices M₁, M₂, M₃ and M₄ of dimensions p × q, q × r, r × s and s × t respectively…
- Consider two strings A = "qpqrr" and B = "pqprqrp". Let x be the length of the longest…
More Algorithms chapters
- Searching
- Sorting
- Hashing
- Asymptotic Complexity
- Greedy Algorithms
- Divide and Conquer
- Graph Traversals
- Minimum Spanning Trees
- Shortest Paths
Frequently asked questions
How many GATE CS questions are there on Dynamic Programming?
PrepWiser has 10 past-paper questions on Dynamic Programming from official GATE CS papers.
Are these real GATE CS questions?
Yes. Each one is from an official GATE CS paper and names its year and set. The answers come from the official answer keys.
Where are the step-by-step solutions?
Every question shows its answer, free. Step-by-step solutions, where available, are part of GATE CS Pro.