question:
there are three arrays
A1 = ["i1", "i2", "i3", "i4".... "ix"]; x is an integer greater than 2
a2 = ["K1", "K2", "K3", "K4".... "ky"]; y is an integer greater than 2
a3 = [M1 "," m2 "," m3 "," M4 "...." mz "]; z is an integer greater than 2
extract two items from each array. each item can only be used once to form an array of length 6, such as: ["i1", "i2", "M1", "m2", "K1", "K2"], and find all possible arrays.
requires that the same item between any two arrays is less than or equal to 2.
such as
L1 = ["i1", "i2", "M1", "m2", "K1", "K2"];
L2 = ["i1", "i2", "m3", "M4", "K5", "K6"];
the two arrays have two identical items, "i1" and "i2".
, for example,
L1 = ["i1", "i2", "M1", "m2", "K1", "K2"];
L2 = ["i1", "i2", "M1", "M4", "K5", "K6"];
the number of the same items in the two arrays is 3, which are "i1", "i2" and "M1".