Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.
Fun, engaging games to boost memory, math fluency, typing speed, and English skills—perfect for learners of all ages.
The chapter focuses on the concepts of common subwords and subsequences, specifically the longest common subword problem. It introduces various methods for determining the length of the longest common subword between two sequences, including brute force and dynamic programming approaches, while also demonstrating how to recover the actual subword from these computations.
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.
References
ch47 part a.pdfClass Notes
Memorization
What we have learnt
Final Test
Revision Tests
Term: Longest Common Subword
Definition: The longest segment that appears in the same order in two sequences.
Term: Brute Force Algorithm
Definition: An exhaustive method that attempts all possible positions in two strings to find the longest common subword.
Term: Dynamic Programming
Definition: An optimization approach used to solve complex problems by breaking them down into simpler subproblems and storing results to avoid repetitive calculations.
Term: Inductive Structure
Definition: A method of solving problems where solutions to smaller instances help build up to the solution of larger instances.