← ALL NOTES
String

712. Minimum ASCII Delete Sum for Two Strings

Delete characters from two strings until they're equal, paying each deleted character's ASCII code, and minimise the total cost. This is edit distance's cousin — only deletions allowed, and the…

Loading…