Driver code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT set1 = [ " abcdefgh " , " geeksforgeeks " , " lmnopqrst " , " abc " ] NEW_LINE set2 = [ " ijklmnopqrstuvwxyz " , " abcdefghijklmnopqrstuvwxyz " , " defghijklmnopqrstuvwxyz " ] NEW_LINE n = len ( set1 ) NEW_LINE m = len ( set2 ) NEW_LINE print ( countCompletePairs ( set1 , set2 , n , m ) ) NEW_LINE DEDENT