# -*- coding:utf-8 -*- class LongestSubstring: def findLongest(self, A, n, B, m): # write code here dp = [ [0 for _ in range(m+1)] for __ in range(n+1) ] max_res = 0 for i in range(1,n+1): for j in range(1,m+1): # print(i,j,len(A),len(...