The problem statement goes like this: There are two arrays A and B whose length can either be equal or not. Each element in the arrays can take a value from 1 to 6. 1 <=