CS 320 - Dynamic Programming Assignment: Algorithms and Solutions
VerifiedAdded on 2020/04/15
|3
|727
|106
Homework Assignment
AI Summary
This document presents a solution to a dynamic programming assignment, focusing on two key problems: sequence alignment and finding the longest path in a matrix. The solution addresses both local and global sequence alignment using the longest common subsequence (LCS) and longest increasing subsequence (LIS) concepts. It includes an alignment matrix to demonstrate the solution. The second part of the solution involves a C++ code implementation to find the longest path in a 2D matrix, utilizing dynamic programming techniques with memoization to optimize the search. The code includes functions to find the longest path from a cell and the overall longest path in the matrix. The document also references two relevant research papers on sequence alignment and visualization, namely VISTA and the Clustal series program, respectively, to provide context and further reading on the topics.
1 out of 3