






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The concept of dynamic programming through two examples: matrix chain multiplication and polygon triangulation. Dynamic programming is a method used to solve complex problems by breaking them down into smaller, overlapping sub-problems. In matrix chain multiplication, the goal is to find the sequence of multiplications that results in the minimum number of scalar multiplications. In polygon triangulation, the objective is to find a triangulation that minimizes the sum of the weights of the triangles in the triangulation. Both examples illustrate the existence of optimal substructure and overlapping sub-problems, which are essential properties for dynamic programming.
Typology: Study notes
1 / 10
This page cannot be seen from the preview
Don't miss anything!







1
ALG00S, [email protected]^ LECT-16, S-^2 Javed I. Khan@ DESIGN & ANALYSIS OF ALGORITHM
3
ALG00S, [email protected]^ LECT-16, S-^4 Javed I. Khan@ DESIGN & ANALYSIS OF ALGORITHM
LECT-16, S- 7 ALG00S, [email protected] Javed I. Khan@ DESIGN & ANALYSIS OF ALGORITHM
LECT-16, S- 9 ALG00S, [email protected] Javed I. Khan@ DESIGN & ANALYSIS OF ALGORITHM
LECT-16, S- 13 ALG00S, [email protected] Javed I. Khan@ DESIGN & ANALYSIS OF ALGORITHM
ALG00S, [email protected]^ LECT-16, S-^14 Javed I. Khan@ DESIGN & ANALYSIS OF ALGORITHM
15
ALG00S, [email protected]^ LECT-16, S-^16 Javed I. Khan@ DESIGN & ANALYSIS OF ALGORITHM
LECT-16, S- 19 ALG00S, [email protected] Javed I. Khan@ DESIGN & ANALYSIS OF ALGORITHM