WEEK 8
Dynamic Programming - 13th April 2022
-
Matrix Chain Multiplication
You are given n # of 2D matrices to multiply. Find out the minimum # of multiplications you need to perform. -
Travelling Salesman Problem
Travelling Salesman Problem (TSP) is a touring problem in which n cities and distance between each pair is given. We have to find a shortest route to visit each city exactly once and come back to the starting point. -
Longest Common Subsequence
Greedy Algorithm You are given 2 strings and you have to find the Longest Common Subsequence between them.