Make Three Strings Equal
Each operation deletes the last letter of one string. The strings can only meet on a shared prefix, so the cost follows from its length.
Each operation deletes the last letter of one string. The strings can only meet on a shared prefix, so the cost follows from its length.