https://www.youtube.com/watch?v=NnD96abizww
if (input1[i] == input2[j]) { M[i][j] = M[i-1][j-1] + 1 } else { M[i][j] = max(M[i-1,j], M[i,j-1]) }
https://www.youtube.com/watch?v=NnD96abizww
if (input1[i] == input2[j]) { M[i][j] = M[i-1][j-1] + 1 } else { M[i][j] = max(M[i-1,j], M[i,j-1]) }