Problem 712 · Medium

Minimum ASCII Delete Sum for Two Strings

Delete characters from two strings at the lowest total character-code cost so they match. The visual fills a grid of costs and traces the cheapest route back.

Open the interactive visualisation