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.
What does edit distance measure?
Think about the types of changes you can make.
Why is dynamic programming useful in calculating edit distance?
Consider how tasks can be reused.
What is the primary use of edit distance?
Think about what edit distance measures.
Dynamic programming is useful because:
Recall how it improves efficiency in algorithms.
Given two strings 'kitten' and 'sitting', calculate the edit distance using dynamic programming and explain each step.
Watch for repeated letters and consider alternative paths in your matrix.
You have the phrase 'The cat sat' and 'The cat was sat'. What changes might you suggest to minimize edit distance while maximizing meaning retention?
Consider how removing a word changes context but not the primary subject.
6 more questions in this section. Enroll free to practise them all.
Enroll free