Cost of making two strings identical is SUM of following two 1 ) Cost of removing extra characters from first string 2 ) Cost of removing extra characters from second string
return costX * ( m - len_LCS ) + costY * ( n - len_LCS ) ; }