Skip to content
RED SAG Skills
medium10 pts · first answer countsdynamic-programmingedit-distancespace-optimization

Edit distance with less memory

Edit distance on two strings of lengths m and n uses an O(m × n) table. How can you cut memory to O(min(m, n)) and still get the distance?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions