Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
Define the longest common subsequence (LCS).
Break down the definition into parts: 'longest', 'subsequence', and 'order'.
What does dynamic programming help with in problem-solving?
Think of a way to avoid calculating the same thing multiple times.
What strategy does LCS utilize to find similarities between sequences?
Consider the goal of finding the longest match, not just short ones.
True or False: LCS can only be applied to genetic sequences.
Think broadly about how LCS might be useful in texts or sentences.
Given the sequences 'AGGTAB' and 'GXTXAYB', compute the LCS and explain how to arrive at your answer.
Visualize a grid; track matching characters and build on previous results.
Critique the efficiency of LCS utilizing brute force versus dynamic programming.
Understand the relation between the size of input and the number of calculations involved.
5 more questions in this section. Enroll free to practise them all.
Enroll free