function to find minimum number of deletions and insertions
function printMinDelAndInsert ( str1 , str2 ) { let m = str1 . length ; let n = str2 . length ; let len = lcs ( str1 , str2 , m , n ) ; document . write ( " " + " " ) ; document . write ( ( m - len ) + " " ) ; document . write ( " " + " " ) ; document . write ( ( n - len ) + " " ) ; }