Tap here to switch tabs
Problem
Submissions

Problem: Minimum ASCII Delete Sum for Two Strings

Try to solve the Minimum ASCII Delete Sum for Two Strings problem.

Statement

Given two strings s1 and s2, return the lowest $ ext{ASCII}$ sum of deleted characters required to make both strings equal.

Constraints:

  • 1≤1 \leq s1.length, s2.length ≤1000\leq 1000

  • s1 and s2 consist of lowercase English letters.

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Minimum ASCII Delete Sum for Two Strings

Try to solve the Minimum ASCII Delete Sum for Two Strings problem.

Statement

Given two strings s1 and s2, return the lowest $ ext{ASCII}$ sum of deleted characters required to make both strings equal.

Constraints:

  • 1≤1 \leq s1.length, s2.length ≤1000\leq 1000

  • s1 and s2 consist of lowercase English letters.