GATE Computer ScienceHardGATE CSE

The edit distance (unit-cost insert, delete, substitute) between "algorithm" and "altruistic" is

  1. A. 6
  2. B. 5
  3. C. 7
  4. D. 8

Correct answer: A. 6

The final cell of the edit-distance DP table is 6.

More Algorithms questions

Exams that ask this topic